Part Number Hot Search : 
FH620 M040115 TSP072 UPD3729 99800 1S334 SY100 2SA1076
Product Description
Full Text Search
 

To Download ALC231 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ALC231 (p/n: ALC231-cg) high definition audio codec with mono class-d speaker amplifier datasheet rev. 1.1 23 june 2011 track id: jatr-2265-11 realtek semiconductor corp. no. 2, innovation road ii, hsinchu science park, hsinchu 300, taiwan tel.: +886-3-578-0211. fax: +886-3-577-6047 www.realtek.com www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier ii track id: jatr-2265-11 rev. 1.1 copyright ?2011 realtek semiconductor corp. a ll rights reserved. no part of this document may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language in any form or by any means without the written permissi on of realtek semiconductor corp. disclaimer realtek provides this document ?as is?, without warranty of any kind. realtek may make improvements and/or changes in this document or in the product de scribed in this document at any time. this document could include technical inaccura cies or typographical errors. trademarks realtek is a trademark of realtek semiconductor cor poration. other names mentioned in this document are trademarks/registered trademar ks of their respective owners. using this document this document is intended for the hardware and software engineer?s general information on the realtek ALC231 ic. though every effort has been made to ensure th at this document is cu rrent and accurate, more information may have become available subsequent to the production of this guide. revision history revision release date summary 1.0 2011/05/30 first release 1.1 2011/06/23 revised section 11 mechanical dimensions, page 70. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier iii track id: jatr-2265-11 rev. 1.1 table of contents 1. general description ............................................................................................................ ..................................1 2. features ....................................................................................................................... ..................................................2 2.1. h ardware f eatures ............................................................................................................................... ..................2 2.2. s oftware f eatures ............................................................................................................................... ...................4 3. system applications ............................................................................................................ ...................................5 4. block diagram .................................................................................................................. .........................................6 4.1. a nalog i nput /o utput u nit ............................................................................................................................... ......7 5. pin assignments................................................................................................................ ..........................................8 5.1. g reen p ackage and v ersion i dentification .........................................................................................................8 6. pin descriptions............................................................................................................... ..........................................9 6.1. d igital i/o p ins ............................................................................................................................... ..........................9 6.2. a nalog i/o p ins ............................................................................................................................... .........................9 6.3. f ilter /r eference ............................................................................................................................... .....................10 6.4. p ower /g round ............................................................................................................................... .........................10 7. high definition audio link protocol............................................................................................ ............11 7.1. l ink s ignals ............................................................................................................................... .............................11 7.1.1. signal de finitio ns ............................................................................................................. ....................................12 7.1.2. signaling topology ............................................................................................................. ..................................13 7.2. f rame c omposition ............................................................................................................................... .................14 7.2.1. outbound frame ? single sdo.................................................................................................... ........................14 7.2.2. inbound frame ? single sdi ..................................................................................................... ...........................15 7.2.3. variable sam ple rates.......................................................................................................... ................................16 7.3. r eset and i nitialization ............................................................................................................................... .........18 7.3.1. link reset ..................................................................................................................... ........................................18 7.3.2. codec reset .................................................................................................................... ......................................19 7.3.3. codec initializa tion sequence .................................................................................................. ............................20 7.4. v erb and r esponse f ormat ............................................................................................................................... ....21 7.4.1. command verb format ............................................................................................................ ............................21 7.4.2. response format................................................................................................................ ..................................21 7.4.3. double functi on reset .......................................................................................................... ...............................22 7.5. p ower m anagement ............................................................................................................................... ................22 7.5.1. ALC231 additional power features............................................................................................... ......................23 8. supported verbs and param eters ................................................................................................. ...............24 8.1. v erb ? g et p arameters (v erb id=f00 h ) .............................................................................................................24 8.1.1. parameter ? vendor id (verb id=f00h, parame ter id=00h)......................................................................... ....24 8.1.2. parameter ? revision id (verb id=f00h, parameter id=02h) ....................................................................... ...24 8.1.3. parameter ? subordinate node count (v erb id=f00h, para meter id=04h)......................................................25 8.1.4. parameter ? function group type (v erb id=f00h, parameter id=05h) ...........................................................25 8.1.5. parameter ? audio function capabilities (v erb id=f00h, para meter id=08h)................................................25 8.1.6. parameter ? audio widget capabilities (ver b id=f00h, parame ter id=09h) ...................................................26 8.1.7. parameter ? supported pcm size, rates (verb id=f00h, parameter id=0ah).................................................27 8.1.8. parameter ? supported stream formats (verb id=f00h, parameter id=0bh)..................................................28 8.1.9. parameter ? pin capabilities (ver b id=f00h, parame ter id=0ch) .................................................................. 28 www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier iv track id: jatr-2265-11 rev. 1.1 8.1.10. parameter ? amplifier capabilities (verb id=f 00h, input amplifier pa rameter id =0dh)...........................29 8.1.11. parameter ? amplifier capabilities (verb id=f 00h, output amplifier pa rameter id=12h) .........................29 8.1.12. parameter ? connect list length (v erb id=f00h, parameter id=0eh)........................................................30 8.1.13. parameter ? supported power states (v erb id=f00h, parameter id=0fh)..................................................30 8.1.14. parameter ? processing capabilities (v erb id=f00h, para meter id=10h) ..................................................30 8.1.15. parameter ? gpio capabilities (verb id=f00h, parame ter id=1 1h)...........................................................31 8.1.16. parameter ? volume knob capabilities (v erb id=f00h, parameter id=13h)...............................................31 8.2. v erb ? g et c onnection s elect c ontrol (v erb id=f01 h ) ................................................................................32 8.3. v erb ? s et c onnection s elect (v erb id=701 h ) .................................................................................................32 8.4. v erb ? g et c onnection l ist e ntry (v erb id=f02 h )..........................................................................................33 8.5. v erb ? g et p rocessing s tate (v erb id=f03 h ) ....................................................................................................36 8.6. v erb ? s et p rocessing s tate (v erb id=703 h ).....................................................................................................36 8.7. v erb ? g et c oefficient i ndex (v erb id=d h ) ......................................................................................................36 8.8. v erb ? s et c oefficient i ndex (v erb id=5 h ) .......................................................................................................37 8.9. v erb ? g et p rocessing c oefficient (v erb id=c h ) ............................................................................................37 8.10. v erb ? s et p rocessing c oefficient (v erb id=4 h )..............................................................................................37 8.11. v erb ? g et a mplifier g ain (v erb id=b h ) ...........................................................................................................38 8.12. v erb ? s et a mplifier g ain (v erb id=3 h ).............................................................................................................41 8.13. v erb ? g et c onverter f ormat (v erb id=a h ) ....................................................................................................42 8.14. v erb ? s et c onverter f ormat (v erb id=2 h )......................................................................................................43 8.15. v erb ? g et p ower s tate (v erb id=f05 h ) ............................................................................................................44 8.16. v erb ? s et p ower s tate (v erb id=705 h ) .............................................................................................................45 8.17. v erb ? g et c onverter s tream , c hannel (v erb id=f06 h ) ...............................................................................45 8.18. v erb ? s et c onverter s tream , c hannel (v erb id=706 h ) ................................................................................46 8.19. v erb ? g et p in w idget c ontrol (v erb id=f07 h )...............................................................................................46 8.20. v erb ? s et p in w idget c ontrol (v erb id=707 h )................................................................................................47 8.21. v erb ? g et u nsolicited r esponse c ontrol (v erb id=f08 h ) ...........................................................................47 8.22. v erb ? s et u nsolicited r esponse c ontrol (v erb id=708 h ) ............................................................................48 8.23. v erb ? g et p in s ense (v erb id=f09 h )..................................................................................................................48 8.24. v erb ? e xecute p in s ense (v erb id=709 h )..........................................................................................................49 8.25. v erb ? g et c onfiguration d efault (v erb id=f1c h ) ........................................................................................49 8.26. v erb ? s et c onfiguration d efault b ytes 0, 1, 2, 3 (v erb id=71c h /71d h /71e h /71f h for b ytes 0, 1, 2, 3) .50 8.27. v erb ? g et beep g enerator (v erb id=f0a h )....................................................................................................51 8.28. v erb ? s et beep g enerator (v erb id=70a h ).....................................................................................................51 8.29. v erb ? g et gpio d ata (v erb id=f15 h )................................................................................................................52 8.30. v erb ? s et gpio d ata (v erb id=715 h ).................................................................................................................52 8.31. v erb ? g et gpio e nable m ask (v erb id=f16 h ).................................................................................................53 8.32. v erb ? s et gpio e nable m ask (v erb id=716 h )..................................................................................................53 8.33. v erb ? g et gpio d irection (v erb id=f17 h ).......................................................................................................54 8.34. v erb ? s et gpio d irection (v erb id=717 h )........................................................................................................54 8.35. v erb ? g et gpio w ake e nable m ask (v erb id=f18 h ).......................................................................................55 8.36. v erb ? s et gpio w ake e nable m ask (v erb id=718 h ).......................................................................................55 8.37. v erb ? g et gpio u nsolicited r esponse e nable m ask (v erb id=f19 h ).........................................................56 8.38. v erb ? s et gpio u nsolicited r esponse e nable m ask (v erb id=719 h )..........................................................56 8.39. v erb ? f unction r eset (v erb id=7ff h ) ..............................................................................................................57 8.40. v erb ? g et d igital c onverter c ontrol 1 & c ontrol 2 (v erb id=f0d h , f0e h ) ...........................................57 8.41. v erb ? s et d igital c onverter c ontrol 1 & c ontrol 2 (v erb id=70d h , 70e h ).............................................58 8.42. v erb ? g et s ubsystem id [31:0] (v erb id=f20 h /f21 h /f22 h /f23 h ) ...................................................................59 8.43. v erb ? s et s ubsystem id [31:0] (v erb id=723 h for [31:24], 722 h for [23:16], 721 h for [15:8], 720 h for [7:0]) ............................................................................................................................... ...................................................59 8.44. v erb ? g et eapd c ontrol (v erb id=f0c h for g et ).........................................................................................60 8.45. v erb ? s et eapd c ontrol (v erb id=70c h for s et ) ..........................................................................................60 www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier v track id: jatr-2265-11 rev. 1.1 9. electrical char acteristics..................................................................................................... ......................61 9.1. dc c haracteristics ............................................................................................................................... ................61 9.1.1. absolute maxi mum ratings ....................................................................................................... ...........................61 9.1.2. threshold voltage .............................................................................................................. ...................................61 9.1.3. digital filter c haracteristics ................................................................................................. ..............................62 9.1.4. spdif output c haracteristics ................................................................................................... ..........................62 9.2. ac c haracteristics ............................................................................................................................... ................63 9.2.1. link reset and in itialization timing........................................................................................... ..........................63 9.2.2. link timing paramete rs at the codec ............................................................................................ ......................64 9.2.3. spdif output timing............................................................................................................ ...............................65 9.3. a nalog p erformance ............................................................................................................................... .............66 9.4. c lass -d p ower a mplifier p erformance .............................................................................................................67 10. application circuits ........................................................................................................... ............................68 10.1. f ilter c onnection ............................................................................................................................... ...................68 10.2. p ower and j ack c onnection ............................................................................................................................... ..69 10.3. spdif-out c onnection ............................................................................................................................... .........69 11. mechanical dimensions .......................................................................................................... .......................70 12. ordering information ........................................................................................................... ........................71 www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier vi track id: jatr-2265-11 rev. 1.1 list of tables t able 1. d igital i/o p ins ............................................................................................................................... ..........................9 t able 2. a nalog i/o p ins ............................................................................................................................... ..........................9 t able 3. f ilter /r eference ............................................................................................................................... .....................10 t able 4. p ower /g round ............................................................................................................................... .........................10 t able 5. l ink s ignal d efinitions ............................................................................................................................... ..........12 t able 6. hda s ignal d efinitions ............................................................................................................................... .........12 t able 7. d efined s ample r ate and t ransmission r at e ....................................................................................................16 t able 8. 48 k h z v ariable r at e o f d elivery t iming ...........................................................................................................16 t able 9. 44.1 k h z v ariable r at e o f d elivery t iming ........................................................................................................17 t able 10. 40-b it c ommands in 4-b it v erb f ormat ..............................................................................................................21 t able 11. 40-b it c ommands in 12-b it v erb f ormat ............................................................................................................21 t able 12. s olicited r esponse f ormat ............................................................................................................................... ...21 t able 13. u nsolicited r esponse f ormat .............................................................................................................................21 t able 14. s ystem p ower s tate d efinitions .........................................................................................................................22 t able 15. p ower c ontrols in nid=01 h ............................................................................................................................... .22 t able 16. p owered d own c onditions ............................................................................................................................... ....23 t able 17. v erb ? g et p arameters (v erb id=f00 h ) .............................................................................................................24 t able 18. p arameter ? v endor id (v erb id=f00 h , p arameter id=00 h ) ..........................................................................24 t able 19. p arameter ? r evision id (v erb id=f00 h , p arameter id=02 h ) ........................................................................24 t able 20. p arameter ? s ubordinate n ode c ount (v erb id=f00 h , p arameter id=04 h )................................................25 t able 21. p arameter ? f unction g roup t ype (v erb id=f00 h , p arameter id=05 h ) .......................................................25 t able 22. p arameter ? a udio f unction c apabilities (v erb id=f00 h , p arameter id=08 h ) ..........................................25 t able 23. p arameter ? a udio w idget c apabilities (v erb id=f00 h , p arameter id=09 h )..............................................26 t able 24. p arameter ? s upported pcm s ize , r at e s (v erb id=f00 h , p arameter id=0a h ) ............................................27 t able 25. p arameter ? s upported s tream f ormats (v erb id=f00 h , p arameter id=0b h )............................................28 t able 26. p arameter ? p in c apabilities (v erb id=f00 h , p arameter id=0c h ) ................................................................28 t able 27. p arameter ? a mplifier c apabilities (v erb id=f00 h , i nput a mplifier p arameter id=0d h ) ........................29 t able 28. p arameter ? a mplifier c apabilities (v erb id=f00 h , o utput a mplifier p arameter id=12 h ) .....................29 t able 29. p arameter ? c onnect l ist l ength (v erb id=f00 h , p arameter id=0e h ) .......................................................30 t able 30. p arameter ? s upported p ower s tates (v erb id=f00 h , p arameter id=0f h ) .................................................30 t able 31. p arameter ? p rocessing c apabilities (v erb id=f00 h , p arameter id=10 h )...................................................30 t able 32. p arameter ? gpio c apabilities (v erb id=f00 h , p arameter id=11 h ) .............................................................31 t able 33. p arameter ? v olume k nob c apabilities (v erb id=f00 h , p arameter id=13 h )..............................................31 t able 34. v erb ? g et c onnection s elect c ontrol (v erb id=f01 h )................................................................................32 t able 35. v erb ? s et c onnection s elect (v erb id=701 h ) .................................................................................................32 t able 36. v erb ? g et c onnection l ist e ntry (v erb id=f02 h ) .........................................................................................33 t able 37. v erb ? g et p rocessing s tate (v erb id=f03 h )....................................................................................................36 t able 38. v erb ? s et p rocessing s tate (v erb id=703 h ).....................................................................................................36 t able 39. v erb ? g et c oefficient i ndex (v erb id=d h )......................................................................................................36 t able 40. v erb ? s et c oefficient i ndex (v erb id=5 h ) .......................................................................................................37 t able 41. v erb ? g et p rocessing c oefficient (v erb id=c h ) ............................................................................................37 t able 42. v erb ? s et p rocessing c oefficient (v erb id=4 h )..............................................................................................37 t able 43. v erb ? g et a mplifier g ain (v erb id=b h ) ...........................................................................................................38 t able 44. v erb ? s et a mplifier g ain (v erb id=3 h ) ............................................................................................................41 t able 45. v erb ? g et c onverter f ormat (v erb id=a h ) ....................................................................................................42 t able 46. v erb ? s et c onverter f ormat (v erb id=2 h ) .....................................................................................................43 t able 47. v erb ? g et p ower s tate (v erb id=f05 h ) ............................................................................................................44 t able 48. v erb ? s et p ower s tate (v erb id=705 h ).............................................................................................................45 t able 49. v erb ? g et c onverter s tream , c hannel (v erb id=f06 h ) ...............................................................................45 t able 50. v erb ? s et c onverter s tream , c hannel (v erb id=706 h ) ................................................................................46 t able 51. v erb ? g et p in w idget c ontrol (v erb id=f07 h ) ..............................................................................................46 www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier vii track id: jatr-2265-11 rev. 1.1 t able 52. v erb ? s et p in w idget c ontrol (v erb id=707 h ) ...............................................................................................47 t able 53. v erb ? g et u nsolicited r esponse c ontrol (v erb id=f08 h ) ...........................................................................47 t able 54. v erb ? s et u nsolicited r esponse c ontrol (v erb id=708 h ) ............................................................................48 t able 55. v erb ? g et p in s ense (v erb id=f09 h )..................................................................................................................48 t able 56. v erb ? e xecute p in s ense (v erb id=709 h )..........................................................................................................49 t able 57. v erb ? g et c onfiguration d efault (v erb id=f1c h )........................................................................................49 t able 58. d efault c onfiguration for e ach p in w idget ....................................................................................................50 t able 59. v erb ? s et c onfiguration d efault b ytes 0, 1, 2, 3 (v erb id=71c h /71d h /71e h /71f h for b ytes 0, 1, 2, 3) 50 t able 60. v erb ? g et beep g enerator (v erb id=f0a h ) ...................................................................................................51 t able 61. v erb ? s et beep g enerator (v erb id=70a h ) ....................................................................................................51 t able 62. v erb ? g et gpio d ata (v erb id=f15 h ) ...............................................................................................................52 t able 63. v erb ? s et gpio d ata (v erb id=715 h ) ................................................................................................................52 t able 64. v erb ? g et gpio e nable m ask (v erb id=f16 h ) ................................................................................................53 t able 65. v erb ? s et gpio e nable m ask (v erb id=716 h ) .................................................................................................53 t able 66. v erb ? g et gpio d irection (v erb id=f17 h ) ......................................................................................................54 t able 67. v erb ? s et gpio d irection (v erb id=717 h ) .......................................................................................................54 t able 68. v erb ? g et gpio w ake e nable m ask (v erb id=f18 h )......................................................................................55 t able 69. v erb ? s et gpio w ake e nable m ask (v erb id=718 h ).......................................................................................55 t able 70. v erb ? g et gpio u nsolicited r esponse e nable m ask (v erb id=f19 h ).........................................................56 t able 71. v erb ? s et gpio u nsolicited r esponse e nable m ask (v erb id=719 h )..........................................................56 t able 72. v erb ? f unction r eset (v erb id=7ff h )..............................................................................................................57 t able 73. v erb ?g et d igital c onverter c ontrol 1 & c ontrol 2 (v erb id=f0d h , f0e h ) ............................................57 t able 74. v erb ? s et d igital c onverter c ontrol 1 & c ontrol 2 (v erb id=70d h , 70e h ).............................................58 t able 75. v erb ? g et s ubsystem id [31:0] (v erb id=f20 h /f21 h /f22 h /f23 h )...................................................................59 t able 76. v erb ? s et s ubsystem id [31:0] (v erb id=723 h for [31:24], 722 h for [23:16], 721 h for [15:8], 720 h for [7:0]) ............................................................................................................................... ...................................................59 t able 77. v erb ? g et eapd c ontrol (v erb id=f0c h ).......................................................................................................60 t able 78. v erb ? s et eapd c ontrol (v erb id=70c h for s et )..........................................................................................60 t able 79. a bsolute m aximum r at i n g s ............................................................................................................................... ..61 t able 80. t hreshold v oltage ............................................................................................................................... ................61 t able 81. d igital f ilter c haracteristics ...........................................................................................................................62 t able 82. spdif o utput c haracteristics ...........................................................................................................................62 t able 83. l ink r eset and i nitialization t iming ..................................................................................................................63 t able 84. l ink t iming p arameters at the c odec ................................................................................................................64 t able 85. spdif o utput t iming ............................................................................................................................... ..............65 t able 86. a nalog p erformance ............................................................................................................................... .............66 t able 87. c lass -d p ower a mplifier p erformance .............................................................................................................67 t able 88. o rdering i nformation ............................................................................................................................... ...........71 www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier viii track id: jatr-2265-11 rev. 1.1 list of figures f igure 1. b lock d iagram ............................................................................................................................... ........................6 f igure 2. a nalog i nput /o utput u nit ............................................................................................................................... .....7 f igure 3. p in a ssignments ............................................................................................................................... .......................8 f igure 4. hda l ink p rotocol ............................................................................................................................... ...............11 f igure 5. b it t iming ............................................................................................................................... ................................12 f igure 6. s ignaling t opology ............................................................................................................................... ..............13 f igure 7. sdo o utbound f rame ............................................................................................................................... ...........14 f igure 8. sdo s tream t ag is i ndicated in sync...............................................................................................................14 f igure 9. sdi i nbound s tream ............................................................................................................................... ..............15 f igure 10. sdi s tream t ag and d ata ............................................................................................................................... .....15 f igure 11. l ink r eset t iming ............................................................................................................................... ..................19 f igure 12. c odec i nitialization s equence ..........................................................................................................................20 f igure 13. l ink r eset and i nitialization t iming ................................................................................................................63 f igure 14. l ink s ignals t iming ............................................................................................................................... ..............64 f igure 15. o utput t iming ............................................................................................................................... ........................65 f igure 16. f ilter c onnection ............................................................................................................................... .................68 f igure 17. p ower and j ack c onnection ............................................................................................................................... 69 f igure 18. spdif-out c onnection ............................................................................................................................... ........69 www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 1 track id: jatr-2265-11 rev. 1.1 1. general description the ALC231 is a high definition audio codec that integrates a 4-channel dac, 4-channel adc, and a mono and filter-less class-d speaker amp lifier with 2watt (rms) output power. the 4-channel dac and 4-channel adc support tw o independent stereo sound outputs and two independent stereo inputs simultaneously; allo wing multiple streaming playback and output for multimedia applications and voice communication. the ALC231 supports stereo digital microphone ch annels (microphone arra y) with acoustic echo cancellation (aec), beam forming (bf), and noise suppression (ns) technology simultaneously, significantly improving voice quality for pc voip applications. the ALC231 headphone amplifier can drive a 32 ? headphone load without external dc blocking capacitors, eliminating pop noise caused by these capaci tors. in addition to the cap-free headphone output port (hp-out), the line-out port is also designe d as a line-level output without the need for dc blocking capacitors, eliminating pop noise when connecting to extern al powered speakers. the integrated mono class-d amplifier directly drives a mini speaker with as low as 4 ? impedance. its maximum output power is 2 watts at 5v power suppl y. the built-in high-pass fi lter with configurable cut-off frequency can prevent speaker burn up cau sed by low-frequency sound. the class-d amplifier output power can also be limited to prevent mini speaker damage. the ALC231 has overcurrent and shor t circuit detection to protect the integrated class-d amplifier and power system. the class-d amplifier output will be au tomatically shut down when a connected speaker is disconnected or to prevent over-heating. as well as protection functions, the ALC231 features spread spectrum and slew rate control for the class- d carrier frequency to reduce emi radiation. support for 16/20/24-bit spdif output with up to 192khz sample rate o ffers easy connection of pcs to consumer electronic products, or transport of dig ital audio output to a high definition media interface (hdmi) transmitter. the ALC231 supports host audio from intel chipsets , and also from any ot her hda compatible audio controller. with various software utilities lik e environment sound emulation, multiple-band and independent software equalizer, dynamic range co mpressor and expander, optional dolby pcee program, srs trusurround hd, srs premium sound, fortemedia sam, creative host audio, synopsys sonic focus, dts surround sensation | ultrapc, and dts connect licenses, the al c231 offers high sound quality, providing an excellent entertainment package and game experience for pc users. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 2 track id: jatr-2265-11 rev. 1.1 2. features 2.1. hardware features ? meets wlp (windows logo program) requirement s for windows xp, vista, and windows 7 ? analog dac outputs with 97db signal- to-noise ratio (a-weighting) ? analog adc inputs with over 90db signa l-to-noise ratio (a-weighting) ? 4-channel dac supports 16/20/24-bit pcm format fo r independent two stereo channel playback ? 4-channel adc supports 16/20/24-bit pcm format fo r independent two stereo channel recording ? all dacs support 44.1k/48k/96k/192khz sample rate ? all adcs support 44.1k/48k/96k/192khz sample rate ? spdif-out supports 16/20/24-bit format and 44.1/48/88.2/96/192khz sample rate ? six stereo analog io ports: line-out (output), mic1 (input and output), mic2 (input), line1 (input and output), line2 (input and output), and hp-out (output) ? one mono port with class-d amplifie r to driver mini speaker: mono-out ? one stereo digital microphone input ? supports external pcbeep input an d built-in digital beep generator ? built in headphone amplifiers at port line1 and hp-out ? headphone amplifier at port hp-out doe s not require dc blocking capacitors ? port line-out is stereo output without dc blocking capacitors ? software selectable 2.3v/3.0v/ 4.0v vrefout as bias voltage for analog microphone input ? programmable +12/+24/+36db boost gain for analog microphone input ? programmable boost gain and volume c ontrol for digital microphone input ? two jack detection pins; each can detect up to 4 jacks ? supports 4-pole type headset combo jack (ste reo headphone output and mono microphone input on a single jack) ? enhanced power management features for normal operation and standby mode www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 3 track id: jatr-2265-11 rev. 1.1 ? mono bridge-tied load class-d amplifier at port-h (mono-out) has 2watt (rms) power for 4 ? load speaker ? short circuit and over current protection for class-d amplifier ? class-d amplifier has high pass filter with selectab le cut-off frequency to prevent low frequency signal damaging speaker ? class-d amplifier output with slew rate and spread spectrum control to reduce emi radiation ? intel low power ecr hda015-b compliant: supports power status control, jack detection, and wake-up event in d3 mode ? two gpios for customized applications ? eapd (external amplifier power down) is supported ? supports anti-pop mode when analog power avdd is on and digital power is off ? pcbeep pass through to mono-out port (c lass-d amplifier) in anti-pop mode ? built-in 5v-to-4.5v ldo to power analog circuitry ? power support: 3.3v digital core power; 1.5v~ 3.3v digital io power for hda link; 4.5v~5.5v analog power; 4.5v~5.5v power stage voltage ? 48-pin qfn ?green? package www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 4 track id: jatr-2265-11 rev. 1.1 2.2. software features ? meets wlp (windows logo program) requirement s for windows xp, vista, and windows 7 ? supports linux driver based on kernel 2.6.0 and later version ? eax 1.0 & 2.0 compatible ? direct sound 3d compatible ? i3dl2 compatible ? hrtf 3d positional audio (windows xp only) ? multi-band software equalizer and dynamic range control (expander, compre ssor, and limiter) with adjustable parameters ? intuitive configuration panel (realtek a udio manager) to enhance user experience ? enhanced microphone acoustic echo cancellati on (aec), noise suppression (ns), and beam forming (bf) technology for voice application ? hdmi audio driver for intel and amd chipsets ? optional dolby pcee program, srs trusurroun d hd, srs premium so und, fortemedia sam, creative host audio, synopsys sonic focus, dts surround sensation | ultr apc, and dts connect licenses www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 5 track id: jatr-2265-11 rev. 1.1 3. system applications ? commercial desktop and notebook pcs ? tablet pc, netbook, and mid (mobile internet de vice) with high defin ition audio controller www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 6 track id: jatr-2265-11 rev. 1.1 4. block diagram s/pdif - out pcbeep mic1(port-b) digital converter 1dh 18h 1eh i/o boost vol m vol m vol m vol m m 0dh line-out dac surr dac m m m m m sample rate 44.1k, 48k, 88.2k, 96k , 192k s/pdif output stream dmic-1/2 1 mic2(port-f) 19h vol m -34.5~+12db (1.5db/step) i boost hp-out (port - i ) 21h o m a m m m mono 0ch 0fh 22h 23h 2h /2 09h 0bh line1(port-c) 1ah i/o m boost line2(port-e) 1bh i/o m boost a volume : -65.25~ 0 db (0.75db/step) sample rate: 44.1k, 48k, 96k , 192k 02h 03h vol da converter digital filter vol da converter digital filter m m m gain(vol): -16.5~30db (1.5db/step) sample rate44.1k, 48k, 96k , 192k 08h gain ad converter digital filter m gain ad converter digital filter m dmic reciever 0/12/24/36 db boost gain 06h s/pdif-out s/pdif out stream from hd audio bus playback pcm stream 2 recorded pcm1 recorded pcm2 reset# bitclk sync sdata-out sdata-in playback pcm stream 1 beep gen (cap-free headphone amp) line-out (port -d) o m 14h spk-out (port-h) class d amp m 17h m (mono-spk-out) figure 1. block diagram www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 7 track id: jatr-2265-11 rev. 1.1 4.1. analog input/output unit pin widgets nid=18h, 1ah, and 1bh ar e re-tasking io supporting input units. nid=1ah (port-c, line1) and 21h (port-i, hp-out) support amplifier units. a en_amp r r left en_ibuf en_obuf input_signal_left output_signal_left right output_signal_right input_signal_right en_obuf figure 2. analog input/output unit www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 8 track id: jatr-2265-11 rev. 1.1 5. pin assignments dvdd gpio0/dmic-data gpio1/dmic-clk pd# sdata-out bclk dvss sdata-in dvdd-io sync reset# pcbeep cbp cbn cpvee hpout-r(port-i-r) hpout-l(port-i-l) mic1-vrefo-l mic1-vrefo-r mic2-vrefo ldo-cap vref avss1 avdd1 figure 3. pin assignments 5.1. green package and version identification green package is indicated by the ?g? in gxxxvs (fi gure 3). the silicon version and step numbers are shown in the location marked ?v? and ?s?. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 9 track id: jatr-2265-11 rev. 1.1 6. pin descriptions 6.1. digital i/o pins table 1. digital i/o pins name type pin description characteristic definition reset# i 11 h/w reset control input, v t =0.20*(dvdd-io) sync i 10 sample sync (48khz) schmitt trigger input v ol =0.33*(dvdd-io), v oh =0.66*(dvdd-io) bclk i 6 24mhz bit clock input schmitt trigger input v ol =0.33*(dvdd-io), v oh =0.66*(dvdd-io) sdata-out i 5 serial tdm data input input, v t =0.5*(dvdd-io) sdata-in o 8 serial tdm data output output, v ol =0.1*(dvdd-io), v oh =0.9*(dvdd=io) eapd o 47 signal to power down external amplifier output, v ol =0v, v oh =dvdd spdifo o 48 spdif output output with 12 ma@75 ? driving capability (internally pulled low by a 47k resistor) gpio1/ dmic-clk io 3 general purpose input/output 1 clock output for digital mic input/output; shared with the digital mic clock input v t =(2/3)*dvdd, internal pull high to dvdd by 47k ohm output v oh =dvdd, v ol =dvss, default gpio gpio0/ dmic-data io 2 general purpose input/output 0 data input from digital mic input/output; shared with th e digital mic input data input v t =(2/3)*dvdd, internal pull high to dvdd by 47k ohm output v oh =dvdd, v ol =dvss, default gpio total: 9 pins 6.2. analog i/o pins table 2. analog i/o pins name type pin description characteristic definition pcbeep i 12 external pcbeep input analog input, 1.6vrms of full-scale input line2-l io 14 2 nd line input left channel analog input/output, default is input (port-e) line2-r io 15 2 nd line input right channel analog input/output, default is input (port-e) mic2-l i 16 2 nd stereo microphone input left channel analog input (port-f) mic2-r i 17 2 nd stereo microphone input right channel analog input (port-f) mic1-l io 21 1 st stereo microphone input left channel analog input/output, default is input (port-b) mic1-r io 22 1 st stereo microphone input right channel analog input/output, default is input (port-b) line1-l io 23 1 st line input left channel analog input/output, default is input (port-c) line1-r io 24 1 st line input right channel analog input/output, default is input (port-c) hp-out-l o 32 cap-free headphone output left channel analog output (port-) hp-out-r o 33 cap-free headphone output right channel analog output (port-i) line-out-l o 40 cap-free line output left channel analog output (port-d) line-out-r o 41 cap-free line output right channel analog output (port-d) spk-out - o 44 mono spk amplifier negative out put pulse width modulation output (port-h) www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 10 track id: jatr-2265-11 rev. 1.1 name type pin description characteristic definition spk-out + o 45 mono spk amplifier positive output pulse width modulation output (port-h) sense a i 13 jack detect pin 1 resistor (5.1k, 10k, 20k, 39.2k) with 1% accuracy sense b i 18 jack detect pin 2 resistor (5.1k, 10k, 20k, 39.2k) with 1% accuracy pd# i 4 power down class-d output control v il =1.25~1.45v/v ih =1.80~2.00v (internally pull-high by a 400k resistor) total: 18 pins 6.3. filter/reference table 3. filter/reference name type pin description characteristic definition jdref - 19 reference resistor for jack detect 20k, 1% accuracy resist or to analog ground ldo_ref - 20 2.5v reference voltage 10f capacitor to analog ground vref - 27 0.5*ldo_out of reference voltage 2.2f capacitor to analog ground ldo-cap - 28 ldo output reference for integrated regulator 10f capacitor to analog ground mic2-vrefo o 29 bias voltage for mic2 jack 2.3v/3.0v/4.0v reference voltage mic1-vrefo-r o 30 secondary bias voltage for mic1 jack 2.3v/3.0v/4.0v reference voltage mic1-vrefo-l o 31 bias voltage for mic1 jack 2.3v/3.0v/4.0v reference voltage cpvee - 34 reference voltage output 2.2f capacitor to analog ground cpvref - 37 0v reference voltage analog ground cbn - 35 reference capacitor 2.2f capacitor to cbp cbp - 36 reference capacitor 2.2f capacitor to cbn total: 11 pins 6.4. power/ground table 4. power/ground name type pin description characteristic definition avdd1 p 25 analog vdd (5.0v) analog power for mixer, dacs, and adcs avss1 g 26 analog gnd analog ground for mixer, dacs, and adcs avdd2 p 38 analog vdd (5.0v) analog power for charge pump circuit avss2 g 39 analog gnd analog ground for charge pump circuit avss3 g 42 analog gnd analog ground dvdd p 1 digital core power (3.3v) digital core power for core logic dvss g 7 digital gnd digital ground for core logic and hda link dvdd-io p 9 digital io power (1.5v~ 3.3v) digital i/o power for hda link pvdd p 46 power stage vdd 5.0v power supply for full-bridge class-d amp pvss g 43 power stage gnd ground for full-bridge class-d amp thermal pad g 49 power stage gnd ground for full-bridge class-d amp total: 11 pins www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 11 track id: jatr-2265-11 rev. 1.1 7. high definition audio link protocol 7.1. link signals the high definition audio (hda) link is the digital se rial interface that connect s the hda codecs to the hda controller. the hda link protocol is contro ller synchronous, based on a 24.0mhz bit-clk sent by the hda controller. the input and output stream s, including command and pcm data, are isochronous with a 48khz frame rate. figure 4 shows the basic concept of the hda link protocol. figure 4. hda link protocol www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 12 track id: jatr-2265-11 rev. 1.1 7.1.1. signal definitions table 5. link signal definitions item description bclk 24.0mhz bit clock sourced from the hda controller and connected to all codecs. sync 48khz signal used to synchronize input and output streams on the link. it is sourced from the hda controller and connects to all codecs. sdo serial data output signal driven by the hda controller to all codecs. commands and data streams are carried on sdo. the data rate is double pumped; the controller drives data onto the sdo, the codec samples data present on sdo with respect to each edge of bclk. th e hda controller must support at least one sdo. to extend outbound bandwidth, multiple sdos may be supported. sdi serial data input signal driven by the codec. this is point-to-point serial data from the codec to the hda controller. the controller must support at least one sdi, and up to a maximum of 15 sdi?s can be supported. sdi is driven by the codec at each rising edge of bclk, and sampled by the controller at each rising edge of bclk. sdi can be driven by the controller to initialize the codec?s id. rst# active low reset signal. asserted to reset the codec to default power on state. rst# is sourced from the hda controller and connects to all codecs. table 6. hda signal definitions signal name source controller type description bclk controller output global 24.0mhz bit clock. sync controller output global 48khz frame sync and outbound tag signal. sdo controller output serial data output from controller. sdi codec/controller input/output serial data input from codec. weakly pulled down by the controller. rst# controller output global active low reset signal. sdo sync sdi bclk start of frame 8-bit frame sync 7654 0 1 2 3 999 998 997 996 995 994 993 992 991 990 3 210499 498 497 496 495 494 controller samples sdi at rising edge of bclk codec samples sdo at both rising and falling edge of bclk figure 5. bit timing www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 13 track id: jatr-2265-11 rev. 1.1 7.1.2. signaling topology the hda controller supports two sdos for the out bound stream, up to 15 sdis for the inbound stream. rst#, bclk, sync, sdo0, and sdo1 are driven by c ontroller to codecs. each codec drives its own point-to-point sdi signal( s) to the controller. figure 6 shows the possible connections between the hda controller and codecs: ? codec 0 is a basic connection. there is one single sdo and one single sdi for normal transmission ? codec 1 has two sdos for doubled outbound rate, a single sdi for normal inbound rate ? codec 3 supports a single sdo for normal out bound rate, and two sdis for doubled inbound rate ? codec n has two sdos and multiple sdis the multiple sdos and multiple sdis are used to e xpand the transmission rate between controller and codecs. section 7.2 frame compos ition, page 14 describes the de tailed outbound and inbound stream compositions for single and multiple sdos/sdis. the connections shown in figure 6 can be implemented concurrently in an hda system. the ALC231 is designed to receive a single sdo stream. sdi0 sdo1 sdi0 sdi1 sdo1 sdi1 sdi0 sdi0 sdi2 rst# bclk sync sdo0 rst# bclk sync sdo0 rst# bclk sync sdo0 rst# bclk sync sdo0 figure 6. signaling topology www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 14 track id: jatr-2265-11 rev. 1.1 7.2. frame composition 7.2.1. outbound frame ? single sdo an outbound frame is composed of one 32-bit command stream and multiple data streams. there are one or multiple sample blocks in a data stream. only one sample block exists in a stream if the hda controller delivers a 48khz rate of samples to the c odec. multiple sample blocks in a stream means the sample rate is a multiple of 48khz. this means ther e should be 2 blocks in the same stream to carry 96khz samples (figure 7). for outbound frames, the stream tag is not in sdo, but in the sync signa l. a new data stream is started at the end of the stream tag. the stream tag include s a 4-bit preamble and 4-bit stream id (figure 8). to keep the cadence of converters bound to the same st ream, samples for these converters must be placed in the same block. command stream sdo sync a 48khz frame is composed of command stream and multiple data streams stream 'x' data stream 'a' data stream 'a' tag stream 'x' tag frame sync (here 'a' = 5) (here 'x' = 6) next frame previous frame 0s null field sample block(s) block 1 block 2 .. . block y sample 1 sample 2 .. . sample z msb ... lsb for 48khz rate, only block1 is included one or multiple blocks in a stream for 96khz rate, block1 includes (n) th time of samples, block2 includes (n+1) th time of samples z channels of pcm sample msb first in a sample padded at the end of frame figure 7. sdo outbound frame sdo sync bclk data of stream 10 7654 0 1 2 3 preamble stream=10 110 0 msb lsb msb previous stream stream tag (4-bit) (4-bit) figure 8. sdo stream tag is indicated in sync www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 15 track id: jatr-2265-11 rev. 1.1 7.2.2. inbound frame ? single sdi an inbound frame ? single sdi is composed of one 36- bit response stream and multiple data streams. except for the initialization sequence (turnaround and address frame), sdi is driven by the codec at each rising edge of bclk. the controlle r also samples data at the ri sing edge of bc lk (figure 9). the sdi stream tag is not carried by sync, but incl uded in the sdi. a complete sdi data stream includes one 4-bit stream tag, one 6-bit data length, a nd n-bit sample blocks. zeros will be padded if the total length of the contiguous sample blocks w ithin a given stream is not of integral byte length (figure 10). response stream sdi sync a 48khz frame is composed of a response stream and multiple data streams stream 'x' stream 'a' frame sync next frame previous frame 0s null field sample 1 sample 2 ... sample z msb ... lsb for 48khz rate, only block1 is included for 96khz rate, block{1, 2} includes {(n) th (n+1) th } time of samples z channels of pcm sample msb first in a sample padded at the end of frame sample block(s) stream tag block 1 block 2 ... block y null pad figure 9. sdi inbound stream bclk sdi data length in bytes d n-1 00 00 stream tag b 0 d n-2 b 1 b 2 b 3 b 4 b 5 b 6 b 7 b 8 b 9 d 0 (data length in bytes *8)-bit next stream null pad n-bit sample block a complete stream figure 10. sdi stream tag and data www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 16 track id: jatr-2265-11 rev. 1.1 7.2.3. variable sample rates the hda link is designed for sample rates of 48khz. vari able rates of sample are delivered in multiple or sub-multiple rates of 48khz. two sample blocks per frame result in a 96khz delivery rate, one sample block over two frames results in a 24khz delivery rate . the hda specification states that the sample rate of the outbound stream be synchronized by the contro ller, not by the codec. each stream has its own sample rate, independent of any other stream. the hda controller supports 48khz and 44.1khz base rates. table 7 shows the recommended sample rates based on multiples or sub-multiples of one of the two base rates. rates in sub-multiples (1/n) of 48khz are interleavi ng n frames containing no sample blocks. rates in multiples (n) of 48khz contain n sample blocks in a frame. table 8 shows the delivery cadence of variable rates based on 48khz. the hda link is defined to operate at a fixed 48khz frame rate. to deliver samples in (sub) multiple rates of 44.1khz, an appropriate ratio between 44.1khz and 48khz mu st be maintained to avoid frequency drift. the appropriate ratio betw een 44.1khz and 48khz is 147/160. meaning 147 sample blocks are transmitted every 160 frames. the cadence ?12-11-11-12-11-11-1 2-11-11-12-11-11-11- (repeat)?inte rleaves 13 frames containing no sample blocks in every 160 frames . it provides a low long-term fr equency drift for a 44.1khz delivery rate. rates in sub-multiples (1/n) of 44.1khz also follow this cadence and interleave n empty frames. rates in multiples (n) of 44.1khz applying this cadence contain n sample blocks in the non-empty frame and interleave an empty frame between non-empty frames (table 9, page 17). table 7. defined sample rate and transmission rate (sub) multiple 48khz base 44.1khz base 1/6 8khz (1 sample block every 6 frames) - 1/4 12khz (1 sample block every 4 frames) 11.025khz (1 sample block every 4 frames) 1/3 16khz (1 sample block every 3 frames) - 1/2 - 22.05khz (1 sample block every 2 frames) 2/3 32khz (2 sample blocks every 3 frames) - 1 48khz (1 sample block per frame) 44.1khz (1 sample block per frame) 2 96khz (2 sample blocks per frame) 88.2khz (2 sample blocks per frame) 4 192khz (4 sample blocks per frame) 176.4khz (4 sample blocks per frame) table 8. 48khz variable rate of delivery timing rate delivery cadence description 8khz ynnnnn (repeat) one sample bloc k is transmitted in every 6 frames 12khz ynnn (repeat) one sample block is transmitted in every 4 frames 16khz ynn (repeat) one sample block is transmitted in every 3 frames 32khz y 2 nn (repeat) one sample block is transmitted in every 6 frames 48khz y (repeat) one sample block is transmitted in every 6 frames 96khz y 2 (repeat) two sample blocks are transmitted in each frame 192khz y 4 (repeat) four sample blocks are transmitted in each frame n: no sample block in a frame. y: one sample block in a frame. yx: x sample blocks in a frame. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 17 track id: jatr-2265-11 rev. 1.1 table 9. 44.1khz variable rate of delivery timing rate delivery cadence 11.025khz {12}{-}{11}{-}{11}{-}{12}{-}{11}{-}{11}{-}{12 }{-}{11}{-}{11}{-}{12}{-}{11}{-}{11}{-}{11}{-} (repeat) 22.05khz {12}{-}{11}{-}{11}{-}{12}{-}{11}{-}{11}{-}{12 }{-}{11}{-}{11}{-}{12}{-}{11}{-}{11}{-}{11}{-} (repeat) 44.1khz 12-11-11-12-11-11-12-11-11-12-11-11-11- (repeat) 88.2khz 12 2 -11 2 -11 2 -12 2 -11 2 -11 2 -12 2 -11 2 -11 2 -12 2 -11 2 -11 2 -11 2 - (repeat) 176.4khz 12 4 -11 4 -11 4 -12 4 -11 4 -11 4 -12 4 -11 4 -11 4 -12 4 -11 4 -11 4 -11 4 - (repeat) 11.025khz: {12}=ynnnynnnynnnynnnynnn ynnnynnnynnnyn nnynnnynnnynnn {11}=ynnnynnnynnnynnnynnn ynnnynnnynnnynnnynnnynnn { - }=nnnn 22.050khz: {12}=ynynynynynynynynynynynyn {11}=ynynynynynynynynynynyn { - }=nn 44.1khz: 12- =contiguous 12 frames containing 1 sample blocks each, followed by one frame with no sample block. 88.2khz: 12 2 - =contiguous 12 frames containing 2 sample blocks each, followed by one frame with no sample block. 176.4khz: 12 4 - =contiguous 12 frames containing 4 sample blocks each, followed by one frame with no sample block. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 18 track id: jatr-2265-11 rev. 1.1 7.3. reset and initialization there are two types of re set within an hda link: ? link reset. generated by assertion of the rst# si gnal. all codecs return to their power on state ? codec reset. generated by software directing a command to reset a specific codec back to its default state an initialization sequence is requested after any of the following three events: 1. link reset 2. codec reset 3. codec changes its power st ate (for example, hot docking a codec to an hda system) 7.3.1. link reset a link reset may be caused by 3 events: 1. the hda controller asserts rst# for any reason (power up, or pci reset) 2. software initiates a link reset via the ?crst? b it in the global control register (gcr) of the hda controller 3. software initiates power management sequences . figure 11, page 19, shows the ?link reset? timing including the ?enter? sequence ( n ~ r ) and ?exit? sequence ( s ~ v ) enter ?link reset?: n software writes a 0 to the ?crst? bit in the global control register of the hda controll er to initiate a link reset o as the controller completes the current frame, it does not signal the normal 8-bit frame sync at the end of the frame p the controller drives sync and all sdos to low. codecs also drive sdis to low q the controller asserts the rst# signal to low, and enters the ?link reset? state r all link signals driven by controller and codecs should be tri-state by inte rnal pull low resistors www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 19 track id: jatr-2265-11 rev. 1.1 exit from ?link reset?: s if bclk is re-started for any reason (cod ec wake-up event, power management, etc.) t software is responsible for de-asserting rst# after a minimum of 100sec bclk running time (the 100sec provides time for the codec pll to stabilize) u minimum of 4 bclk after rst# is de-asserted, th e controller starts to signal normal frame sync v when the codec drives its sdi to request an initializ ation sequence (when the sdi is driven high at the last bit of frame sync, it means the c odec requests an initialization sequence) sdos sync sdis bclk normal frame sync is absent rst# 4 bclk 4 bclk driven low driven low previous frame normal frame sync link in reset 1 2 4 5 3 6 7 pulled low pulled low driven low pulled low pulled low 8 9 >=100 usec >= 4 bclk initialization sequence wake event figure 11. link reset timing 7.3.2. codec reset a ?codec reset? is initiated via the codec reset co mmand verb. it results in the target codec being reset to the default state. after th e target codec completes its reset ope ration, an initialization sequence is requested. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 20 track id: jatr-2265-11 rev. 1.1 7.3.3. codec initialization sequence n the codec drives sdi high at the last bit of sync to request a codec address (cad) from the controller o the codec will stop driving the sdi during this turnaround period pqrs the controller drives sdi to assign a cad to the codec t the controller releases the sdi after the cad has been assigned u normal operation state figure 12. codec initialization sequence www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 21 track id: jatr-2265-11 rev. 1.1 7.4. verb and response format 7.4.1. command verb format there are two types of verbs: one w ith 4-bit identifiers (4-bit verbs) a nd 16-bits of data , the other with 12-bit identifiers (12-bit verbs) and 8-bits of data. table 10 shows the 4-bit verb struct ure of a command stream sent from the controller to operate the codec. table 11 is the 12-bit verb structure that gets and controls parameters in the codec. table 10. 40-bit commands in 4-bit verb format bit [39:32] bit [31:28] bit [27:20] bit [19:16] bit [15:0] reserved codec address node id verb id payload table 11. 40-bit commands in 12-bit verb format bit [39:32] bit [31:28] bit [27:20] bit [19:8] bit [7:0] reserved codec address node id verb id payload 7.4.2. response format there are two types of response from the codec to th e controller. solicited res ponses are returned by the codec in response to a current command verb. the codec will send solicited response data in the next frame, without regard to the set (write) or get (read) command. the 32-bit res ponse is interpreted by software, opaque to the controller. unsolicited responses are sent by the codec independen tly of software requests. jack detection or gpi status information can be actively delivered to the controller and interpreted by software. the ?tag? in bit[31:28] is used to identify uns olicited events. this tag is un defined in the hda specifications. table 12. solicited response format bit [35] bit [34] bit [33:32] bit [31:0] valid unsol=0 reserved response table 13. unsolicited response format bit [35] bit [34] bit [33:32] bit [31:28] bit [27:0] valid unsol=1 reserved tag response note: the response stream in the link protocol is 36-b its wide. the response is placed in the lower 32-bit field. bit-35 is a ?valid? bit to indicate the res ponse is ?ready?. bit-34 is set to indicate that an unsolicited response was sent. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 22 track id: jatr-2265-11 rev. 1.1 7.4.3. double function reset this reset is executed by sending two function group re sets back to back. this does a full initialization and resets all settings to their pow er on defaults. a double reset is de fined as two function group reset verbs received without other intervening valid verbs. the reset verbs are not required to be received in sequential frames, but there must not be any other verb s received in frames between the received function group reset verbs (null commands are permitted to be received in frames between function group reset verbs). 7.5. power management the ALC231 does not support wake-up events when in low power mode. all power management state changes in widgets are driven by software. tabl e 14 shows the system power state definitions. in the ALC231, all the widgets, including output/input converters, support power control. software may have various power states depe nding on system configuration. table 15 indicates those nodes that support power mana gement. to simplify power control, software can configure whole codec power stat es through the audio function (nid =01h). output converters (dacs) and input converters (adcs) have no individual power control to suppl y fine-grained power control. table 14. system power state definitions power states definitions d0 all power on. individual dacs and adcs can be powered up or down as required. d1 all amplifiers and converters (dacs and adcs ) are powered down. stat e maintained, analog reference stays up. d2 all amplifiers and converters (dacs and adcs) are powered down. state maintained, but analog reference off (d1 + analog reference off). d3 power still supplied. the codec stops the internal clock. state is maintained. d3 (no bitclk) power still supplied. bitclk stopped and reset in low state. table 15. power controls in nid=01h description d0 d1 d2 d3 (hot/cold) link reset link response normal normal normal pd pd dacs normal pd pd pd pd adcs normal pd pd pd pd all headphone drivers normal normal pd pd normal all mixers normal normal pd pd normal audio function (nid=01h) all reference normal normal pd pd normal note: pd=powered down www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 23 track id: jatr-2265-11 rev. 1.1 table 16. powered down conditions condition description link response powered down internal clock is stopped. sdata-in and spdif-out are floated with pulled low 47k resistors internally. detection of ?link reset entry? and ?link reset exit? sequences are supported. all states are maintained if dvdd is supplied. dac powered down analog block and digital filter are powered down. adc powered down analog block and digital filter ar e powered down. the data on sdata-in is quiet. headphone driver powered down all headphone drivers are powered down. mixers powered down all internal mixer widgets are powered down. the dc reference and vrefoutx at individual pin complexes are still alive. reference power down all internal references, dc reference, and vrefoutx at individual pin complexes are off. 7.5.1. ALC231 additional power features the ALC231 is designed to meet intel?s low-powe r-state white paper and is ecr hda-015b compliant. it meets the five attributes discussed in the white paper: 1. d3 state power < 30mw (without pc-beep pass-through function) 2. exit latency (d3 to d0 transfer) < 10ms. 3. audio pop/click suppression during d3 and d0 transition < -65dbv. 4. supports jack detection in d3 state. 5. d3 functions with or without the bitclk the ALC231 minimizes d3 state idle mode power consumption and increases overall battery life in mobile systems. in d3 mode, only a power on reset or a ?double f unction reset? resets all ALC231 settings, cutting software configuration time spent entering/leaving d3 state, and reducing latency time for d3 to d0 transitions. the ALC231 supports wake-up events in d3 mode, incl uding jack detection and gpio status changes. if the hda-link was alive (with bclk), the ALC231 wake-up response is as normal. if no bitclk is present, the ALC231 drives the sdi hi gh in order to wake up the system. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 24 track id: jatr-2265-11 rev. 1.1 8. supported verbs and parameters this section describes the verbs a nd parameters supported by various wi dgets in the ALC231. if a verb is not supported by the addressed widget, it will respond with 32 bits of ?0?. 8.1. verb ? get parameters (verb id=f00h) the ?get parameters? verb is used to get system information and the function capabilities of the hda codec. all the parameters are read-only. refer to section 7.4.1 command verb format, page 21, to get detailed information about supported parameters. table 17. verb ? get parameters (verb id=f00h) get parameter command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=00h verb id=f00h parameter id[7:0] 32-bit response note: if the parameter id is not supported, th e returned response is 32 bits of ?0?. 8.1.1. parameter ? vendor id (verb id=f00h, parameter id=00h) table 18. parameter ? vendor id (verb id=f00h, parameter id=00h) codec response format bit description 31:16 vendor id=10ech (realtek?s pci vendor id). 15:0 device id=0231h. note: the root node (nid=00h) supports this parameter. 8.1.2. parameter ? revision id (verb id=f00h, parameter id=02h) table 19. parameter ? revision id (verb id=f00h, parameter id=02h) codec response format bit description 31:24 reserved. read as 0?s. 23:20 majrev. the major version number (in decimal) of the hda spec to which the ALC231 is fully compliant. 19:16 minrev. the minor version number (in decimal) of the hda spec to which the ALC231 is fully compliant. 15:8 revision id. the vendor?s revision number. 00h is for the first silicon version a, 01h is for the second version b, etc. 7:0 stepping id. the vendor?s stepping number within the given revision id. note: the root node (nid=00h in the ALC231) supports this parameter. for example, revision id=00h and stepping id =00h indicates the silicon is the a0 version. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 25 track id: jatr-2265-11 rev. 1.1 8.1.3. parameter ? subordi nate node count (verb id=f00h, parameter id=04h) for the root node, the subordinate node count pr ovides information about audio function group nodes associated with the root node. for function group nodes, it provides the total number of widgets associated with this function node. table 20. parameter ? subordinate node count (verb id=f00h, parameter id=04h) codec response format bit description 31:24 reserved. read as 0?s. 23:16 starting node number. the starting node number in the sequential widgets. 15:8 reserved. read as 0?s. 7:0 total number of nodes. for a root node, the total number of function groups in the root node. for a function group, the total number of widget nodes in the function group. 8.1.4. parameter ? function group type (verb id=f00h, parameter id=05h) table 21. parameter ? function group type (verb id=f00h, parameter id=05h) codec response format bit description 31:9 reserved. read as 0?s. 8 unsol capable. 0: unsolicited response is not supported by this function group 1: unsolicited response is supp orted by this function group 7:0 function group type. 00h: reserved 01h: audio function 02h: modem function 03h~7fh: reserved 80h~ffh: vendor defined function. note: the audio function group (nid=01h) supports this parameter. 8.1.5. parameter ? audio function capabilities (verb id=f00h, parameter id=08h) table 22. parameter ? audio function capa bilities (verb id=f00h , parameter id=08h) codec response format bit description 31:17 reserved. read as 0?s. 16 beep generator. a ?1? indicates the presence of an integrated beep generator within the audio function group. 15:12 reserved. read as 0?s. 11:8 input delay. 7:4 reserved. read as 0?s. 3:0 output delay. note: the audio function group (nid=01h) supports this parameter. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 26 track id: jatr-2265-11 rev. 1.1 8.1.6. parameter ? audio widget capabilities (verb id=f00h, parameter id=09h) table 23. parameter ? audi o widget capabilities (verb id=f00h, parameter id=09h) codec response format bit description 31:24 reserved. read as 0?s. 23:20 widget type. 0h: audio output 1h: audio input 2h: mixer 3h: selector 4h: pin complex 5h: power widget 6h: volume knob widget 7h~eh: reserved fh: vendor defined audio widget 19:16 delay. samples delayed between the hda link and widgets. 15:11 reserved. read as 0?s. 10 power control. 0: power state control is not supported on this widget 1: power state is supported on this widget 9 digital. 0: an analog input or output converter 1: a widget translating digital data between the hda link and digital i/o (spdif, i2s, etc.) 8 connlist. connection list. 0: connected to hda link. no connection list entry should be queried 1: connection list entry must be queried 7 unsolcap. unsolicited capable. 0: unsolicited response is not supported 1: unsolicited response is supported 6 procwidget. processing widget. 0: no processing control 1: processing control is supported 5 reserved. read as 0. 4 format override. 3 ampparovr. amp param override. 2 outamppre. out amp present. 1 inamppre. in amp present. 0 stereo. 0: mono widget 1: stereo widget www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 27 track id: jatr-2265-11 rev. 1.1 8.1.7. parameter ? supported pcm size, rates (verb id=f00h, parameter id=0ah) parameters here provide information about formats. individual converters have their own parameters to provide supported formats if thei r ?format override? bit is set. table 24. parameter ? supported pcm size, rates (verb id=f00h, parameter id=0ah) codec response format bit description 31:21 reserved. read as 0?s. 20 b32. indicates whether 32-bit audio format is supported. 0: not supported 1: supported 19 b24. indicates whether 24-bit audio format is supported. 0: not supported 1: supported 18 b20. indicates whether 20-bit audio format is supported. 0: not supported 1: supported 17 b16. indicates whether 16-bit audio format is supported. 0: not supported 1: supported 16 b8. indicates whether 8-bit audio format is supported. 0: not supported 1: supported 15:12 reserved. read as 0?s. 11 r12. indicates whether 384khz (=8*48khz) rate is supported. 0: not supported 1: supported 10 r11. indicates whether 192khz (=4*48khz) rate is supported. 0: not supported 1: supported 9 r10. indicates whether 176.4khz (=4*44.1khz) rate is supported. 0: not supported 1: supported 8 r9. indicates whether 96khz (=2*48khz) rate is supported. 0: not supported 1: supported 7 r8. indicates whether 88.2khz (=2*44.1khz) rate is supported. 0: not supported 1: supported 6 r7. indicates whether 48khz rate is supported. 0: not supported 1: supported 5 r6. indicates whether 44.1khz rate is supported. 0: not supported 1: supported 4 r5. indicates whether 32khz (=2/3*48khz) rate is supported. 0: not supported 1: supported 3 r4. indicates whether 22.05khz (=1/2*44.1khz) rate is supported. 0: not supported 1: supported 2 r3. indicates whether 16khz (=1/3*48khz) rate is supported. 0: not supported 1: supported 1 r2. indicates whether 11.025khz (=1/4*44.1khz) rate is supported. 0: not supported 1: supported 0 r1. indicates whether 8khz (=1/ 6*48khz) rate is supported. 0: not supported 1: supported www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 28 track id: jatr-2265-11 rev. 1.1 8.1.8. parameter ? supported stream formats (verb id=f00h, parameter id=0bh) parameters in this node only provide default inform ation for audio function gr oups. individual converters have their own parameters to provide supported formats if the ?format override? bit is set. table 25. parameter ? supported stream formats (verb id=f00h, parameter id=0bh) codec response format bit description 31:3 reserved. read as 0?s. 2 ac3. 0: not supported 1: supported 1 float32. 0: not supported 1: supported 0 pcm. 0: not supported 1: supported note: input converters and output converters support this parameter. 8.1.9. parameter ? pin capabilities (verb id=f00h, parameter id=0ch) the pin capabilities parameter returns a bit field de scribing the capabilities of the pin complex widget. table 26. parameter ? pin capabilit ies (verb id=f00h, parameter id=0ch) codec response format bit description 31:16 reserved. read as 0?s. 15:8 vref control capability. ?1? in corresponding bit field indicates signal levels of associated vrefout are speci fied as a percentage of av d d . 7:6 5 4 3 2 1 0 reserved 100% 80% reserved ground 50% hi-z 7 l-r swap. indicates the capability of swapping the left and rights. 6 balanced i/o pin. ?1? indicates this pin complex has balanced pins. 5 input capable. ?1? indicates this pin complex supports input. 4 output capable. ?1? indicates this pin complex supports output. 3 headphone drive capable. ?1? indicates this pin complex has an amplifier to drive a headphone. 2 presence detect capable. ?1? indicates this pin complex can detect whether there is anything plugged in. 1 trigger required. ?1? indicates whether a software trigger is required for an impedance measurement. 0 impedance sense capable. ?1? indicates this pin complex can perform analog sense on the attached device to determine its type. note: only pin complex widgets support this parameter. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 29 track id: jatr-2265-11 rev. 1.1 8.1.10. parameter ? amplif ier capabilities (verb id=f00h, input amp lifier parameter id=0dh) parameters in this node provide audio function gr oup default information. individual converters have their own parameters to provide amplifier capab ilities if the ?amp param override? bit is set. table 27. parameter ? amplifier capabilities (v erb id=f00h, input amp lifier parameter id=0dh) codec response format bit description 31 (input) mute capable. 30:23 reserved. read as 0. 22:16 step size. indicates the size of each step in the gain range. e ach step may be 0~32db, specified in 0.25db steps. ?0? indicates a step of 0.25db. ?127? indicates a step of 32db. 15 reserved. read as 0. 14:8 number of steps. indicates the number of steps in the gain range. ?0? means the gain is fixed. 7 reserved. read as 0. 6:0 offset. indicates which step is 0db. 8.1.11. parameter ? amplif ier capabilities (verb id=f00h, output amplifier parameter id=12h) parameters in this node provide audio function gr oup default information. individual converters have their own parameters to provide amplifier capab ilities if the ?amp param override? bit is set. table 28. parameter ? amplifier capabilities (ver b id=f00h, output amp lifier parameter id=12h) codec response format bit description 31 (output) mute capable. 30:23 reserved. read as 0. 22:16 step size. indicates the size of each step in the gain range. e ach step may be 0~32db, specified in 0.25db steps. ?0? indicates a step of 0.25db. ?127? indicates a step of 32db. 15 reserved. read as 0. 14:8 number of steps. indicates the number of steps in the gain range. ?0? means the gain is fixed. 7 reserved. read as 0. 6:0 offset. indicates which step is 0db. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 30 track id: jatr-2265-11 rev. 1.1 8.1.12. parameter ? connect list length (verb id=f00h, parameter id=0eh) parameters in this node provide audi o function widget connection information. table 29. parameter ? connect list length (verb id=f00h, parameter id=0eh) codec response format bit description 31:8 reserved. read as 0. 7 short form. 0: short form 1: long form 6:0 connect list length. indicates the number of inputs conn ected to a widget. if the connect li st length is 1, there is only one input, and there is no connection select control (not a mux widget). 8.1.13. parameter ? supported power states (verb id=f00h, parameter id=0fh) table 30. parameter ? supported power states (verb id=f00h, parameter id=0fh) codec response format bit description 31:4 reserved. read as 0?s. 3 d3sup. 1: power state d3 is supported. 2 d2sup. 1: power state d2 is supported. 1 d1sup. 1: power state d1 is supported. 0 d0sup 1: power state d0 is supported. 8.1.14. parameter ? proces sing capabilities (verb id=f00h, parameter id=10h) table 31. parameter ? processing capab ilities (verb id=f00h, parameter id=10h) codec response format bit description 31:16 reserved. read as 0?s. 15:8 numcoeff. number of coefficient. 7:1 reserved. read as 0?s. 0 benign. 0: processing unit is not linear and time invariant 1: processing unit is linear and time invariant www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 31 track id: jatr-2265-11 rev. 1.1 8.1.15. parameter ? gpio capabilities (verb id=f00h, parameter id=11h) table 32. parameter ? gpio capabilit ies (verb id=f00h, parameter id=11h) codec response format bit description 31 gpiwake=0. the ALC231 does not support gpio wake up function. 30 gpiunsol=1. the ALC231 supports gpio unsolicited response. 29:24 reserved. read as 0?s. 23:16 numgpis=00h. no gpi pin is supported. 15:8 numgpos=00h. no gpo pin is supported. 7:0 numgpios=02h. two gpio pins are supported. 8.1.16. parameter ? volume knob capabilities (verb id=f00h, parameter id=13h) the ALC231 does not support volume control knob. table 33. parameter ? volume knob capab ilities (verb id=f00h, parameter id=13h) codec response format bit description 31:8 reserved. read as 0?s. 7 delta. 0: software cannot modify the volume control knob volume 1: software can write a base volume to the volume control knob 6:0 numsteps. the number of steps in the range of the volume control knob. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 32 track id: jatr-2265-11 rev. 1.1 8.2. verb ? get connection select control (verb id=f01h) table 34. verb ? get connection select control (verb id=f01h) get command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=xh verb id=f01h 0?s bit[7:0] are connection index codec response for multiplexer widget nid=14h (por t-d), 1ah (port-c), 1bh (port-e), 21h (port-i) bit description 31:8 0?s. 7:0 connection index currently set (default value is 00h). 00h: pin widget nid=0ch 01h: pin widget nid=0dh other: reserved codec response for multiplexer widget nid=22h bit description 31:8 0?s. 7:0 connection index currently set (default value is 00h). 00h: pin widget nid=18h 01h: pin widget nid=19h 02h: pin widget nid=1ah 03h: pin widget nid=1bh 04h: pin widget nid=1dh 05h: pin widget nid=0bh 06h: mixer widget nid=12h 07h: mixer widget nid=0ch 08h: mixer widget nid=0dh other: reserved codec response for other nid bit description 31:0 not supported (returns 00000000h). 8.3. verb ? set connection select (verb id=701h) table 35. verb ? set connection select (verb id=701h) set command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=xh verb id=701h select index [7:0] 0?s for all nodes www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 33 track id: jatr-2265-11 rev. 1.1 8.4. verb ? get connection list entry (verb id=f02h) table 36. verb ? get connection list entry (verb id=f02h) get command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=xh verb id=f02h offset index ? n[7:0] 32-bit response codec response for nid=08h adc bit description 31:8 connection list entry (n+3), (n+2), (n+1). returns 000000h. 7:0 connection list entry (n). returns 23h (sum widget) for n=0~3. returns 00h for n>3. codec response for nid=09h adc bit description 31:8 connection list entry (n+3), (n+2), (n+1). returns 000000h. 7:0 connection list entry (n). returns 22h (sum widget) for n=0~3. returns 00h for n>3. codec response for nid=0bh mixer bit description 31:24 connection list entr y (n+3), (n+2). returns 1bh (line2) for n=0~3. returns 00h for n>3. 23:16 connection list entry (n+1). returns 1ah (line1) for n=0~3. returns 00h for n>3. 15:8 connection list entry (n+1). returns 19h (mic2) for n=0~3. returns 00h for n>3. 7:0 connection list entry (n). returns 18h (mic1) for n=0~3. returns 1dh (pcbeep) for n=4~7. returns 00h for n>3. codec response for nid=0ch bit description 31:16 connection list entr y (n+3), (n+2). returns 0000h. 15:8 connection list entry (n+1). returns 0bh (mixer) for n=0~3. returns 00h for n>3. 7:0 connection list entry (n). returns 02h (line-out dac) for n=0~3. returns 00h for n>3. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 34 track id: jatr-2265-11 rev. 1.1 codec response for nid=0dh bit description 31:16 connection list entr y (n+3), (n+2). returns 0000h. 15:8 connection list entry (n+1). returns 0bh (mixer) for n=0~3. returns 00h for n>3. 7:0 connection list entry (n). returns 03h (surr dac) for n=0~3. returns 00h for n>3. codec response for nid=0fh bit description 31:16 connection list entr y (n+3), (n+2). returns 0000h. 15:8 connection list entry (n+1). returns 0bh (mixer) for n=0~3. returns 00h for n>3. 7:0 connection list entry (n). returns 02h (line-out dac) for n=0~3. returns 00h for n>3. codec response for nid=14h (pin widget: line-out) bit description 31:16 connection list entr y (n+3), (n+2). returns 0000h. 15:8 connection list entry (n+1). returns 0dh (mixer) for n=0~3. returns 00h for n>3. 7:0 connection list entry (n). returns 0ch (mixer) for n=0~3. returns 00h for n>3. codec response for nid=17h (pin widget: mono-out) bit description 31:8 connection list entry (n+3), (n+2), (n+1). returns 000000h. 7:0 connection list entry (n). returns 0fh (mixer) for n=0~3. returns 00h for n>3. codec response for nid=18h (pin widget: mic1) bit description 31:8 connection list entry (n+3), (n+2), (n+1). returns 000000h. 7:0 connection list entry (n). returns 0dh (mixer) for n=0~3. returns 00h for n>3. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 35 track id: jatr-2265-11 rev. 1.1 codec response for nid=1ah (pin widget: line1), 1bh (pin widget: line2), 21h (pin widget: hp-out) bit description 31:16 connection list entr y (n+3), (n+2). returns 0000h. 15:8 connection list entry (n+1). returns 0dh (mixer) for n=0~3. returns 00h for n>3. 7:0 connection list entry (n). returns 0ch (mixer) for n=0~3. returns 00h for n>3. codec response for nid=1eh (pin widget: spdif-out) bit description 31:8 connection list entry (n+3, (n+2), (n+1). returns 000000h. 7:0 connection list entry (n). return 06h (spdif-out converter) for n=0~3. returns 00h for n>3. codec response for nid=22h (mux widget) bit description 31:24 connection list entry (n+3). return 1bh (pin complex - line2) for n=0~3. return 00h for n>3. 23:16 connection list entry (n+2). return 1ah (pin complex - line1) for n=0~3. return 12h (pin complex ? digital mic) for n=4~7. return 00h for n>7. 15:8 connection list entry (n+1). return 19h (pin complex - mic2) for n=0~3. return 0bh (mixer) for n=4~7. return 00h for n>7. 7:0 connection list entry (n). return 18h (pin complex - mic1) for n=0~3. return 1dh (pin complex - pcbeep) for n=4~7. return 00h for n>7. codec response for nid=23h (mixer widget) bit description 31:24 connection list entry (n+3). return 1bh (pin complex - line2) for n=0~3. return 00h for n>3. 23:16 connection list entry (n+2). return 1ah (pin complex - line1) for n=0~3. return 00h for n>3. 15:8 connection list entry (n+1). return 19h (pin complex - mic2) for n=0~3. return 0bh (mixer widget) for n=4~7. return 00h for n>3. 7:0 connection list entry (n). return 18h (pin complex - mic1) for n=0~3. return 1dh (pin complex - pcbeep) for n=4~7. return 00h for n>7. codec response for other nid bit description 31:0 not supported (returns 00000000h). www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 36 track id: jatr-2265-11 rev. 1.1 8.5. verb ? get processing state (verb id=f03h) table 37. verb ? get processing state (verb id=f03h) get command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=xh verb id=f03h 0?s 32-bit response codec response for all nid bit description 31:0 not supported (returns 00000000h). 8.6. verb ? set processing state (verb id=703h) table 38. verb ? set processing state (verb id=703h) set command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=xh verb id=703h processing state [7:0] 0?s for all nodes codec response for all nid bit description 31:0 0?s. 8.7. verb ? get coefficient index (verb id=dh) table 39. verb ? get coefficient index (verb id=dh) get command format codec response format bit [31:28] bit [27:20] bit [19:16] payload bit [15:0] response [31:0] cad=x node id=20h verb id=dh 0?s bit [15:0] are coefficient index codec response for nid=20h (realtek vendor registers) bit description 31:16 reserved. read as 0?s. 15:0 coefficient index. codec response for other nid bit description 31:0 not supported (returns 00000000h). www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 37 track id: jatr-2265-11 rev. 1.1 8.8. verb ? set coefficient index (verb id=5h) table 40. verb ? set coefficient index (verb id=5h) set command format codec response format bit [31:28] bit [27:20] bit [19:16] payload bit [15:0] response [31:0] cad=x node id=20h verb id=5h coefficient index [15:0] 0?s for all nodes codec response for all nid bit description 31:0 0?s. 8.9. verb ? get processing coefficient (verb id=ch) table 41. verb ? get processing coefficient (verb id=ch) get command format codec response format bit [31:28] bit [27:20] bit [19:16] payload bit [15:0] response [31:0] cad=x node id=20h verb id=ch 0?s processing coefficient [15:0] codec response for nid=20h (realtek vendor registers) bit description 31:16 reserved. read as 0?s. 15:0 processing coefficient. codec response for other nid bit description 31:0 not supported (returns 00000000h). 8.10. verb ? set processing coefficient (verb id=4h) table 42. verb ? set processing coefficient (verb id=4h) set command format codec response format bit [31:28] bit [27:20] bit [19:16] payload bit [15:0] response [31:0] cad=x node id=20h verb id=4h coefficient [15:0] 0?s for all nodes codec response for all nid bit description 31:0 0?s www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 38 track id: jatr-2265-11 rev. 1.1 8.11. verb ? get amplifier gain (verb id=bh) this verb is used to get gain/a ttenuation settings from each widget. table 43. verb ? get amplifier gain (verb id=bh) get command format codec response format bit [31:28] bit [27:20] bit [19:16] payload bit [15:0] response [31:0] cad=x node id=xh verb id=bh ?get? payload [15:0] bit[7:0] are responsible for ?get? ?get? payload in command bit[15:0] bit description 15 get input/output. 0: input amplifier gain is requested 1: output amplifier gain is requested 14 reserved. read as 0. 13 get left/right. 0: right amplifier gain is requested 1: left amplifier gain is requested 12:4 reserved. read as 0?s. 3:0 index[3:0] for input source. select amplifier for this converter. if a widget has no multiple input sources, the index will be ignored. codec response for nid=02h (line-out dac) and 03h (surr dac) bit description 31:8 0?s. 7 payload[15] is 0 in ?get amplifier gain ?: read as 0 (no input amplifier mute). payload[15] is 1 in ?get amplifier gain?: read as 0 (no output amplifier mute). 6:0 payload[15] is 0 in ?get amplifier gain ?: read as 0?s (no input amplifier gain). payload[15] is 1 in ?get amplifier gain?: 6-bit control specifying the volume from?65.25db~0db in 0.75db step. node gain[6:0] (default) gain range line-out dac(nid=02h) 1010111b=57h (0db) ?65.25db~0db in 0.75db step surr dac (nid=03h) 1010111b=57h (0db) ?65.25db~0db in 0.75db step www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 39 track id: jatr-2265-11 rev. 1.1 codec response for nid=08h, 09h (adcs) bit description 31:8 0?s. 7 payload[15] is 0 in ?get amplifier gain?: input amplifier mute. 0: unmute 1: mute (default) payload[15] is 1 in ?get amplifier gain?: read as 0 (no output amplifier gain). 6:0 payload[15] is 0 in ?get amplifie r gain?: input amplifier gain [6:0]. specifying the volume from ?16.5db~30db in 1.5db step. node gain[6:0] default gain range adc (nid=08h) 0001011b=0bh (0db) ?16.5db~30db in 1.5db step adc( nid=09h) 0001011b=0bh (0db) ?16.5db~30db in 1.5db step payload[15] is 1 in ?get amplifier gain?: read as 0 (no output amplifier gain). codec response for nid=0ch, 0dh and 0fh (mixer) bit description 31:8 0?s. 7 payload[15] is 0 in ?get amplifier gain?: 1: mute, 0:unmute (input amplifier mute). payload[15] is 1 in ?get amplifier gain?: read as 0 (no output amplifier mute). 6:0 payload[15] is 0 in ?get amplifier gain ?: read as 0?s (no input amplifier gain). payload[15] is 1 in ?get amplifier gain?: read as 0?s (no output amplifier gain). codec response for nid=18h, 1ah and 1bh (pin widget: mic1, line1 and line2) bit description 31:8 0?s. 7 payload[15] is 0 in ?get amplifier gain?: read as 0?s (no input amplifier mute). payload[15] is 1 in ?get amplifier gain?: 1: mu te, 0:unmute (output amplifier mute, default=1). 6:0 payload[15] is 0 in ?get amplifie r gain?: input amplifier gain [6:0]. the volume 0db/12db/24db/36db in 12db per step (default=0, 0db). payload[15] is 1 in ?get amplifier gain?: read as 0 (no output amplifier gain). codec response for nid=12h and 19h (pin widget: dmic and mic2) bit description 31:8 0?s. 7 payload[15] is 0 in ?get amplifier gain?: read as 0?s (no input amplifier mute). payload[15] is 1 in ?get amplifier gain?: read as 0 (no output amplifier mute). 6:0 payload[15] is 0 in ?get amplifie r gain?: input amplifier gain [6:0]. the volume 0db/12db/24db/36db in 12db per step (default=0, 0db). payload[15] is 1 in ?get amplifier gain?: read as 0 (no output amplifier gain). www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 40 track id: jatr-2265-11 rev. 1.1 codec response for nid=14h, 17h and 21h (pin widget: spk-out, mono-out and hp-out) bit description 31:8 0?s. 7 payload[15] is 0 in ?get amplifier gain?: read as 0?s (no input amplifier mute). payload[15] is 1 in ?get amplifier gain?: 1: mu te, 0:unmute (output amplifier mute, default=1). 6:0 payload[15] is 0 in ?get amplifier gain?: read as 0?s (no input amplifier gain). payload[15] is 1 in ?get amplifier gain?: read as 0 (no output amplifier gain). codec response for nid=0bh (mixer) bit description 31:8 0?s. 7 payload[15] is 0 in ?get amplifier gain?: input am plifier mute. 0: unmute, 1: mute (default for all) payload[15] is 1 in ?get amplifier gain?: read as 0 (no output amplifier mute). 6:0 payload[15] is 0 in ?get amplifier gain?: input amplifier gain [6:0]. specifying the volume from -34.5db~+12db in 1.5db step (default: 17h, 0db). payload[15] is 1 in ?get amplifier gain?: read as 0 (no output amplifier gain). index=0 (mic1) index=1 (mic2) index=2 (line1) index=3 (line2) index=4 (pcbeep) index=5 (line-out dac) index > 6 other mute [7] 0/1 0/1 0/1 0/1 0/1 0 0/1 gain [6:0] 00h-1fh 00h-1fh 00h-1fh 00h-1fh 00h-1fh 00h-1fh 00h default[7:0] 10000000 10000000 10000000 10000000 10000000 10000000 00000000 codec response for nid=23h (mixer) bit description 31:8 0?s. 7 payload[15] is 0 in ?get amplifier gain?: input am plifier mute. 0: unmute, 1: mute (default for all) payload[15] is 1 in ?get amplifier gain?: read as 0 (no output amplifier mute). 6:0 payload[15] is 0 in ?get amplifier gain?: read as 0 (no input amplifier gain). payload[15] is 1 in ?get amplifier gain?: read as 0 (no output amplifier gain). index=0 (mic1) index=1 (mic2) index=2 (line1) index=3 (line2) index=4 (pcbeep) index=5 (mixer ) index>6 (other) mute [7] 0/1 0/1 0/1 0/1 0/1 0/1 0 gain [6:0] 0s 0s 0s 0s 0s 0s 0 default[7:0] 10000000 10000000 10000000 10000000 10000000 10000000 00000000 codec response to other nid bit description 31:0 not supported (returns 00000000h). www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 41 track id: jatr-2265-11 rev. 1.1 8.12. verb ? set amplifier gain (verb id=3h) this verb is used to set amplifie r gain/attenuation in each widget. table 44. verb ? set amplifier gain (verb id=3h) set command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=xh verb id=3h ?set? payload [7:0] 0?s for all nodes ?set? payload in command bit[15:0] bit description 15 set output amp. 1 indicates output amplifier gain will be set. 14 set input amp. 1 indicates input amplifier gain will be set. 13 set left amp. 1 indicates left amplifier gain will be set. 12 set right amp. 1 indicates right amplifier gain will be set. 11:8 index offset (for input amplifiers on sum widgets and selector widgets). 5 bits index offset in connection list is used to select which input gain will be set on a mixer or a multiplexer widget. the index is ignored if the node is not a mixer or a multiplexer widget, or the ?set input amp? bit is not set. 7 mute. 0: unmute 1: mute (- gain) 6:0 gain[6:0]. a 7-bit step value specifying the amplifier gain. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 42 track id: jatr-2265-11 rev. 1.1 8.13. verb ? get converter format (verb id=ah) table 45. verb ? get converter format (verb id=ah) get command format codec response format bit [31:28] bit [27:20] bit [19:16] payload bit [15:0] response [31:0] cad=x node id=xh verb id=ah 0?s bit[15:0] are converter format codec response for nid=02h, 03h, 06h (output converters: line-out dac, surr dac, spdif-out). codec response for nid=08h, 09h (input converters: adcs) bit description 31:16 reserved. read as 0. 15 stream type (type). 0: pcm 1: non-pcm 14 sample base rate (base). 0: 48khz 1: 44.1khz 13:11 sample base rate multiple (mult). 000b: *1 001b: *2 010b: *3 011b: *4 100b~111b: reserved. 10:8 sample base rate divisor (div). 000b: /1 001b: /2 010b: /3 011b: /4 100b: /5 101b: /6 110b: /7 111b: /8 the ALC231 does not support divisor. always read as 000b. 7 reserved. read as 0. 6:4 bits per sample (bits). 000b: 8 bits 001b: 16 bits 010b: 20 bits 011b: 24 bits 100b: 32 bits 101b~111b: reserved 3:0 number of channels. 0: 1 channel 1: 2 channels 2: 3 channels ......... 15: 16 channels base mult div bits sample rate 0 000b, 001b, 011b 000b 001b, 010b, 011b 48k, 96k,192k nid=02h (lout-out dac) 1 000b 000b 001b, 010b, 011b 44.1k 0 000b, 001b, 011b 000b 001b, 010b, 011b 48k, 96k,192k nid=03h (surr dac) 1 000b 000b 001b, 010b, 011b 44.1k 0 000b, 001b, 011b 000b 001b, 010b, 011b, 100b 48k, 96k, 192k 1 000b, 001b 000b 001b, 010b, 011b, 100b 44.1k, 88.2k nid=06h (spdif-out) 0 001b 010b 001,010b, 011b 32k 0 000b, 001b 000b 001b, 010b, 011b, 100b 48k, 96k, 192k nid=08h (adc) 1 000b 000b 001b, 010b, 011b 44.1k 0 000b, 001b 000b 001b, 010b, 011b, 100b 48k, 96k, 192k nid=09h (adc) 1 000b 000b 001b, 010b, 011b 44.1k codec response for other nid bit description 31:0 not supported (returns 00000000h). www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 43 track id: jatr-2265-11 rev. 1.1 8.14. verb ? set converter format (verb id=2h) table 46. verb ? set converter format (verb id=2h) set command format codec response format bit [31:28] bit [27:20] bit [19:16] payload bit [15:0] response [31:0] cad=x node id=xh verb id=2h set format [15:0] 0?s for all nodes ?set? payload in command bit[15:0] bit description 31:16 reserved. read as 0. 15 stream type (type). 0: pcm 1: non-pcm 14 sample base rate (base). 0: 48khz 1: 44.1khz 13:11 sample base rate multiple (mult). 000b: *1 001b: *2 010b: *3 011b: *4 100b~111b: reserved. 10:8 sample base rate divisor (div). 000b: /1 001b: /2 010b: /3 011b: /4 100b: /5 101b: /6 110b: /7 111b: /8 7 reserved. read as 0. 6:4 bits per sample (bits). 000b: 8 bits 001b: 16 bits 010b: 20 bits 011b: 24 bits 100b: 32 bits 101b~111b: reserved 3:0 number of channels. 0: 1 channel 1: 2 channels 2: 3 channels ......... 15: 16 channels www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 44 track id: jatr-2265-11 rev. 1.1 8.15. verb ? get power state (verb id=f05h) table 47. verb ? get power state (verb id=f05h) get command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=xh verb id=f05h 0?s power state [7:0] codec response for nid=01h (audio function group) bit description 31:11 reserved. read as 0s. 10 ps-settings reset 0: setting of widgets has been reset during any low power state 1: the setting were changed from the defaults have been reset to their default during any low power state read as 1 after single-function-reset in d0/d1/d2/d4. read as 1 after link-reset in d0/d1/d2/d4. read as 1 after double-function-reset in d0/d1/d2/d3clk. the ps-settings reset bit will be cleared to ze ro after get-power-state-verb?s response. 9 ps-clkstopok 0: no capability to operate normally with bitclk stop 1: operate properly with no biclk read as 1 when ps-set, set power state [1:0]=011b. read as 0 when ps-set, set power state [1:0]=000b/001b/010b/100b. 8 ps-error (no support in ALC231). 7 reserved, read as 0s. 6:4 ps-act. actual power state [1:0]. 000: power state is d0 001: power state is d1 010: power state is d2 011: power state is d3 100: power state is d4 ps-act indicates the actual power state of the referenced node. for audio function group nodes (nid=01h), ps-act is always equal to ps-set. d0: fully on d1: the lowest possible power consuming state it can re turn to fully on state (d 0) within 10msec, except analog pass through is fully on (mixer on) d2: the lowest possible power consuming state it can return to fully on state (d0) within 10msec d3: the lowest possible power consuming state under software control d4: the lowest power consumption state 3 reserved. read as 0. 2:0 ps-set, set power state [1:0]. 000: power state is d0 001: power state is d1 010: power state is d2 011: power state is d3 100: power state is d4 ps-set controls the current power setting of the referenced node. note: specific blocks will be powered down in each power state. refer to section 7.5 power management, page 22. codec response for other nid bit description 31:0 not supported (returns 00000000h). www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 45 track id: jatr-2265-11 rev. 1.1 8.16. verb ? set power state (verb id=705h) table 48. verb ? set power state (verb id=705h) set command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=xh verb id=705h power state [7:0] 0?s for all nodes ?power state? in command bit[7:0] bit description 7:6 reserved. read as 0?s. 5:4 ps-act. actual power state [1:0]. 000: power state is d0 001: power state is d1 010: power state is d2 011: power state is d3 100: power state is d4 ps-act indicates the actual power state of the referenced node. 3:2 reserved. read as 0?s. 1:0 ps-set. set power state [1:0]. 000: power state is d0 001: power state is d1 010: power state is d2 011: power state is d3 100: power state is d4 8.17. verb ? get converter stream, channel (verb id=f06h) table 49. verb ? get converter stream, channel (verb id=f06h) get command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=xh verb id=f06h 0?s stream & channel [7:0] codec response for nid=02h, 03h, 06h (output converters: line-out dac, surr dac, spdif-out). codec response for nid=08h, 09h (input converters: adcs) bit description 31:8 reserved. read as 0?s. 7:4 stream[3:0]. the link stream used by the converter. 0000b is stream 0, 0001b is stream 1, etc. 3:0 channel[3:0]. the lowest channel used by the converter. a stereo converter will use the set channel n as well as n+1 for its left and right channel. codec response for other nid bit description 31:0 not supported (returns 00000000h). www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 46 track id: jatr-2265-11 rev. 1.1 8.18. verb ? set converter stream, channel (verb id=706h) table 50. verb ? set converter stream, channel (verb id=706h) set command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=xh verb id=706h stream & channel [7:0] 0?s for all nodes ?stream and channel? in command bit[7:0] bit description 31:8 reserved. read as 0?s. 7:4 set stream[3:0]. the link stream used by the converter. 0000b is stream 0, 0001b is stream 1, etc. 1:0 set channel[3:0]. the lowest channel used by the converter. a stereo converter will use the set channel n as well as n+1 for its left and right channel. note: this verb assigns stream and channel for output converters (nid=02h, 03h, 06h) and input converters (nid=08h, 09h). other widgets will ignore this verb. 8.19. verb ? get pin widget control (verb id=f07h) table 51. verb ? get pin widget control (verb id=f07h) get command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=xh verb id=f07h 0?s pin control [7:0] codec response for pin widget nid=12h, 14h, 17h, 18h~1bh, 1dh, 1eh and 21h. (pin complex: dmic, line-out, mono-spk-out, mic1, mic2, line1, line2, pcbeep, spdif_out, and hp-out). bit description 31:1 reserved. read as 0?s. 7 h-phn enable (headphone amplifier enable, en_amp for an i/o unit). 0: disabled (default for nid=1ah and 21h) 1: enabled 6 out enable (output buffet enable, en_obuf for an i/o unit). 0: disabled (default for nid=14h, 17h, 18h, 1ah.1bh, and 21h) 1: enabled (default for nid=1eh) 5 in enable (input buffer enable, en_ibuf for an i/o unit). 0: disabled (default for nid=12h) 1: enabled (default for nid=18h, 19h, 1ah, 1bh, and 1dh) 4:3 reserved. 2:0 vrefen (vrefout enable control). 000b: hi-z (disabled) 001b: 50% of avdd (2.3v) 010b: ground 0v 011b: reserved 100b: 80% of avdd (3.0v) 101b: 100% of avdd (4.0v) 110b~111b: reserved codec response for other nid bit description 31:0 not supported (returns 00000000h). www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 47 track id: jatr-2265-11 rev. 1.1 8.20. verb ? set pin widget control (verb id=707h) table 52. verb ? set pin widget control (verb id=707h) set command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=xh verb id=707h pin control [7:0] 0?s for all nodes ?pin control? in command [7:0]: pin widget nid=12h, 14h, 17h, 18h~1bh, 1dh, 1eh and 21h. (pin complex: dmic, line-out, mono-spk-out, mic1, mic2, line1, line2, pcbeep, spdif_out and hp-out). bit description 31:1 reserved. read as 0?s. 7 h-phn enable. 0: disabled 1: enabled 6 out enable. 0: disabled 1: enabled 5 in enable (input buffer enable, en_ibuf for an i/o unit). 0: disabled 1: enabled 4: reserved. 2:0 vrefen (vrefout enable control). 000b: hi-z (disabled) 001b: 50% of avdd 010b: ground 0v 011b: reserved 100b: 80% of avdd 101b: 100% of avdd 110b~111b: reserved 8.21. verb ? get unsolicited response control (verb id=f08h) determines whether a widget is enabled to send an unsolicited response. an hda codec can use an unsolicited response to inform software of a real time event. table 53. verb ? get unsolicited response control (verb id=f08h) get command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=xh verb id=f08h 0?s 32-bit response codec response for nid=01h (gpio in audio function group), 14h, 18h~1ah, 1eh and 21h bit description 31:8 reserved. read as 0?s. 7 unsolicited response is enabled. 0: disabled 1: enabled 6:4 reserved. read as 0?s. 3:0 assigned tag for unsolicited response. the tag[3:0] is assigned by software to determine which widget generates unsolicited responses. codec response for other nid bit description 31:0 not supported (returns 00000000h). www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 48 track id: jatr-2265-11 rev. 1.1 8.22. verb ? set unsolicited response control (verb id=708h) enable a widget to generate an unsolicited response. table 54. verb ? set unsolicited response control (verb id=708h) set command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=xh verb id=708h enableunsol [7:0] 0?s for all nodes ?enableunsol? in command bit[7:0] for nid=01h (gpio in audio function group), 14h, 18h~1ah, 1eh and 21h bit description 31:8 reserved. read as 0?s. 7 enable unsolicited response. 0: disable 1: enable 6:4 reserved. read as 0?s. 3:0 tag for unsolicited response. tag[3:0] is defined by software to assign a 4-bit tag for nodes that are enabled to generate unsolicited responses. 8.23. verb ? get pin sense (verb id=f09h) returns the presence detect status and the im pedance of a device attached to the pin. table 55. verb ? get pin sense (verb id=f09h) get command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=xh verb id=f09h 0?s 32-bit response codec response: pin widget 14h (line-out), 18h-1bh (mic1, mic2, line1, line2), 21h (hp-out) bit description 31 presence detect status. 0: no device is attached to the pin 1: device is attached to the pin 30:0 measured impedance. note: the ALC231 does not support impedance sensing. read as 0?s. codec response for other nid bit description 31:0 not supported (returns 00000000h). www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 49 track id: jatr-2265-11 rev. 1.1 8.24. verb ? execute pin sense (verb id=709h) the ALC231 does not support ?execute pin sense? a nd will ignore this verb and respond with 0?s. table 56. verb ? execute pin sense (verb id=709h) command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=xh verb id=709h right channel[0] 0?s for all nodes ?payload? in command bit[7:0] bit description 7:1 reserved. read as 0?s. 0 right (ring) channel select. 0: sense left channel (tip) 1: sense right channel (ring) 8.25. verb ? get configuration default (verb id=f1ch) reads the 32-bit sticky register for each pin widget configured by software. table 57. verb ? get configuration default (verb id=f1ch) get command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=xh verb id=f1ch 0?s 32-bit response codec response for pin widget: nid=12h (digital mic), 14h (line-out), 21h (hp-out), 17h (mono-spk-out), 18h (mic1), 19h (mic2), 1ah (line1), 1bh (line2), 1dh (pcbeep), 1eh (spdif-out) bit description 31:0 configuration information for each pin widget. default value for each pin widget [31:30]: port connectivity [29:24]: location [23:20]: default device [19:16]: connection type [15:12]: color [11:08]: misc [07:04]: default association [03:00]: sequence nid 14h nid 17h nid 18h nid 19h nid 1ah nid 1bh 01014030h 411111f0h 01a19050h 02a19080h 0181305fh 411111f0h nid 1dh nid 21h nid 1eh nid 12h 411111f0h 411111f0h 0 1441170h 41 1111f0h note: the 32-bit registers for each pin widget are sticky and will not be reset by a link reset or codec reset (function reset verb). www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 50 track id: jatr-2265-11 rev. 1.1 table 58. default configuration for each pin widget name port location device con type color nid-14h front jack rear li ne out 1/8" jack green nid-17h mono no connectio n other other other other nid-18h mic1 jack rear mic in 1/8" jack pink nid-19h mic2 jack front mic in 1/8" jack pink nid-1ah line1 jack rear line in 1/8" jack blue nid-1bh line2 no connectio n other other other other nid-1dh pcbeep no connectio n other other other other nid-21h hp-out no connectio n other other other other nid-1eh spdif-out jack rear spdif out rca orange nid-12h dmic-1/2 no connec tion other other other other 8.26. verb ? set configuration default bytes 0, 1, 2, 3 (verb id=71ch/71dh/71eh/71fh for bytes 0, 1, 2, 3) the bios can use this verb to figure out the default conditions for the pin widgets 14h~1bh and 1eh~1fh such as placement and expected default device. table 59. verb ? set configuration default bytes 0, 1, 2, 3 (verb id=71ch/71dh/71eh/71fh for bytes 0, 1, 2, 3) set command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=xh verb id=71ch, 71dh, 71eh, 71fh label [7:0] 0?s for all nodes note: supported by pin widget nid=12h (digital mic), 14h (line-out), 21h (hp-out), 17h (mono-spk-out), 18h (mic1), 19h (mic2), 1ah (line1), 1bh (line2), 1dh (pcbeep), 1eh (spdif-out) codec response for all nid bit description 31:0 0?s. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 51 track id: jatr-2265-11 rev. 1.1 8.27. verb ? get beep generator (verb id=f0ah) table 60. verb ? get beep generator (verb id=f0ah) get command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=xh verb id=f0ah 0?s divider [7:0] ?response? for nid=01h (audio function group) bit description 31:8 reserved. 7:0 frequency divider, f[7:0]. the internal beep frequency is the result of dividi ng the 48khz clock by 4 tim es the number specified in f[7:0]. the lowest tone is 48khz/(255*4)=47hz. the highest tone is 48khz/(1*4)=12khz. a value of 00h in f[7:0] disables the internal beep generator and allows external pcbeep input. codec response for other nid bit description 31:0 0?s. 8.28. verb ? set beep generator (verb id=70ah) table 61. verb ? set beep generator (verb id=70ah) set command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=xh verb id=70ah divider [7:0] 0?s for all nodes ?divider? in set command bit description 31:8 reserved. 7:0 frequency divider, f[7:0]. the internal beep frequency is the result of dividi ng the 48khz clock by 4 tim es the number specified in f[7:0]. the lowest tone is 48khz/(255*4)=47hz. the highest tone is 48khz/(1*4)=12khz. a value of 00h in f[7:0] disables the internal beep generator and allows external pcbeep input. note: all nodes except audio function gr oup (nid=01h) will ignore this verb. codec response for all nid bit description 31:0 0?s. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 52 track id: jatr-2265-11 rev. 1.1 8.29. verb ? get gpio data (verb id=f15h) table 62. verb ? get gpio data (verb id=f15h) get command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=01h verb id=f15h 0?s 32-bit response codec response for nid=01h (audio function group) bit description 31:8 reserved. 7:2 gpio[7:2] data. not supported in the ALC231. 1:0 gpio[1:0] data. the value written (output) or sensed (input) on the corresponding pin if it is enabled. codec response for other nid bit description 31:0 0?s. 8.30. verb ? set gpio data (verb id=715h) table 63. verb ? set gpio data (verb id=715h) set command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=01h verb id=715h data [7:0] 0?s for all nodes ?data? in set command for nid=01h (audio function group) bit description 31:8 reserved. 7:2 gpio[7:2] output data. not supported in the ALC231. 1:0 gpio[1:0] output data. the value written determines the value driven on a pin that is configured as an output pin. codec response for all nid bit description 31:0 0?s. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 53 track id: jatr-2265-11 rev. 1.1 8.31. verb ? get gpio enable mask (verb id=f16h) table 64. verb ? get gpio enable mask (verb id=f16h) get command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=01h verb id=f16h 0?s enablemask [7:0] codec response for nid=01h (audio function group) bit description 31:2 reserved. 1:0 gpio[1:0] enable mask. 0: the corresponding gpio pin is disabled and is in hi-z state. 1: the corresponding gpio pin is enabled. its behavior is determined by the gpio direction control. note: all nodes except audio function gr oup (nid=01h) will ignore this verb. codec response for other nid bit description 31:0 0?s. 8.32. verb ? set gpio enable mask (verb id=716h) table 65. verb ? set gpio enable mask (verb id=716h) set command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=01h verb id=716h enable mask [7:0] 0?s for all nodes codec response for nid=01h (audio function group) bit description 31:8 reserved. 7:2 gpio[7:2] enable mask. not supported in the ALC231. 1:0 gpio[1:0] enable mask. 0: the corresponding gpio pin is disabled and is in hi-z state 1: the corresponding gpio pin is enabled. it?s behavior is determined by the gpio direction control note: all nodes except audio function gr oup (nid=01h) will ignore this verb. codec response for all nid bit description 31:0 0?s. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 54 track id: jatr-2265-11 rev. 1.1 8.33. verb ? get gpio direction (verb id=f17h) table 66. verb ? get gpio direction (verb id=f17h) get command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=01h verb id=f17h 0?s direction [7:0] codec response for nid=01h (audio function group) bit description 31:8 reserved. 7:2 gpio[7:2] direction control. not supported in the ALC231. 1:0 gpio[1:0] direction control. 0: the corresponding gpio pin is configured as an input 1: the corresponding gpio pin is configured as an output note: all nodes except audio function gr oup (nid=01h) will ignore this verb. codec response for other nid bit description 31:0 0?s. 8.34. verb ? set gpio direction (verb id=717h) table 67. verb ? set gpio direction (verb id=717h) set command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=01h verb id=717h direction [7:0] 0?s for all nodes codec response for nid=01h (audio function group) bit description 31:8 reserved. 7:2 gpio[7:2] direction control. not supported in the ALC231. 1:0 gpio[1:0] direction control. 0: the corresponding gpio pin is configured as an input 1: the corresponding gpio pin is configured as an output note: all nodes except audio function gr oup (nid=01h) will ignore this verb. codec response for other nid bit description 31:0 0?s. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 55 track id: jatr-2265-11 rev. 1.1 8.35. verb ? get gpio wake enable mask(verb id=f18h) table 68. verb ? get gpio wake enable mask (verb id=f18h) get command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=01h verb id=f18h 0?s wakeenalbemask [7:0] codec response for nid=01h (audio function group) bit description 31:8 reserved. 7:2 gpio[7:2] wake enable mask. not supported in the ALC231. 1:0 gpio[1:0] wake enable mask. 0: the corresponding gpio pin w ill not generate a wake-up event 1: the corresponding gpio pin will generate a wake-up event note: all nodes except audio function gr oup (nid=01h) will ignore this verb. codec response for other nid bit description 31:0 0?s. 8.36. verb ? set gpio wake enable mask (verb id=718h) table 69. verb ? set gpio wake enable mask (verb id=718h) set command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=01h verb id=718h wakeenalbemask [7:0] 0?s for all nodes codec response for nid=01h (audio function group) bit description 31:8 reserved. 7:2 gpio[7:2] wake enable mask. not supported in the ALC231 1:0 gpio[1:0] wake enable mask. 0: the corresponding gpio pin w ill not generate a wake-up event 1: the corresponding gpio pin will generate a wake-up event note 1: all nodes except the audio functio n group (nid=01h) will ignore this verb. codec response for other nid bit description 31:0 0?s. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 56 track id: jatr-2265-11 rev. 1.1 8.37. verb ? get gpio unsolicited response enable mask (verb id=f19h) table 70. verb ? get gpio unsolicited response enable mask (verb id=f19h) get command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=01h verb id=f19h 0?s unsolenable [7:0] codec response for nid=01h (audio function group) bit description 31:8 reserved. 7:2 gpio[7:2] unsolicited enable mask. not supported in the ALC231. 1:0 gpio[1:0] unsolicited enable mask. 0: unsolicited response will not be sent on link 1: unsolicited response will be sent on link when state of corresponding gpio has been changed note: all nodes except audio function gr oup (nid=01h) will ignore this verb. codec response for other nid bit description 31:0 0?s. 8.38. verb ? set gpio unsolicited response enable mask (verb id=719h) table 71. verb ? set gpio unsolicited response enable mask (verb id=719h) set command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=01h verb id=719h unsolenable [7:0] 0?s for all nodes codec response for nid=01h (audio function group) bit description 31:8 reserved. 7:2 gpio[7:2] unsolicited enable mask. not supported in the ALC231 1:0 gpio[1:0] unsolicited enable mask. 0: unsolicited response will not be sent on link 1: unsolicited response will be sent on link when state of corresponding gpio has been changed note 1: all nodes except the audio functio n group (nid=01h) will ignore this verb. note 2: the unsolicited response of corresponding gpio is enabled when it?s ?enable mask? and verb-?unsolicited response? for nid=01h are enabled. codec response for other nid bit description 31:0 0?s. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 57 track id: jatr-2265-11 rev. 1.1 8.39. verb ? function reset (verb id=7ffh) table 72. verb ? function reset (verb id=7ffh) command format (nid=01h) codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=01h verb id=7ffh 0?s 0?s codec response bit description 31:0 reserved. read as 0?s. note: the function reset command causes all widgets in the ALC231 to return to their power-on default state. 8.40. verb ? get digital converter control 1 & control 2 (verb id=f0dh, f0eh) table 73. verb ?get digital converter control 1 & control 2 (verb id=f0dh, f0eh) get command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=xh verb id=f0dh/f0eh 0?s bit[31:0] are sic bit nid=06h (spdif-out) response to ?get verb? ? f0dh (control 1 for sic bit[15:0]). nid=06h (spdif-out) response to ?get verb? ? f0eh (control 2 for sic bit[31:16]) bit description ? sic (spdif iec control) bit[31:0] 31:24 read as 0?s. 23 keep alive enable 0: disable spdif out would be disable in d2/d3/d4 mode 1: enable spdief out would be keep alive in d0/d1/d2/d3, but not d4. 12:15 reserved. read as 0?s. 14:8 cc[6:0] (category code). 7 level (generation level). 6 pro (professional or consumer format). 0: consumer format 1: professional format 5 /audio (non-audio data type). 0: pcm data 1: ac3 or other digital non-audio data 4 copy (copyright). 0: asserted 1: not asserted 3 pre (pre-emphasis). 0: none 1: filter pre-emphasis is 50/15 microseconds 2 vcfg for validity control (control v bit and data in sub-frame). 1 v for validity control (control v bit and data in sub-frame). 0 digital enable. digen. 0: off 1: on codec response for other nid bit description 31:0 0?s. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 58 track id: jatr-2265-11 rev. 1.1 8.41. verb ? set digital converter control 1 & control 2 (verb id=70dh, 70eh) table 74. verb ? set digital converter control 1 & control 2 (verb id=70dh, 70eh) set command format (verb id=70dh, set control 1) codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=xh verb id=70dh sic [7:0] 0?s set command format (verb id=70eh, set control 2) codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=xh verb id=70eh sic [15:8] 0?s ?payload? in set control 1 for nid=06h (spdif-out) bit description ? sic (spdif iec control) bit[7:0] 7 level (generation level). 6 pro (professional or consumer format). 0: consumer format 1: professional format 5 /audio (non-audio data type). 0: pcm data 1: ac3 or other digital non-audio data 4 copy (copyright). 0: asserted 1: not asserted 3 pre (pre-emphasis). 0: none 1: filter pre-emphasis is 50/15 microseconds 2 vcfg for validity control (control v bit and data in sub-frame). 1 v for validity control (control v bit and data in sub-frame). 0 digital enable. digen. 0: off 1: on ?payload? in set control 2 for nid=06h (spdif-out) bit description ? sic (spdif iec control) bit[7:0] 7 reserved. read as 0?s. 6:0 cc[6:0] (category code). www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 59 track id: jatr-2265-11 rev. 1.1 8.42. verb ? get subsystem id [31:0] (verb id=f20h/f21h/f22h/f23h) 32-bit read/write register fo r audio function group (nid=01h) table 75. verb ? get subsystem id [31:0] (verb id=f20h/f21h/f22h/f23h) get command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad = x node id=01h verb id=f20h 0s 32-bit response codec response for nid=01h bit description 31:16 subsystem id[23:8] (default=10ech). 15:8 subsystem id[7:0] (default=02h). 7:0 assembly id[7:0] (default=21h). 8.43. verb ? set subsystem id [31:0] (verb id=723h for [31:24], 722h for [23:16], 721h for [15:8], 720h for [7:0]) table 76. verb ? set subsystem id [31:0] (verb id=723h for [31:24], 722h for [23:16], 721h for [15:8], 720h for [7:0]) set command format codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad = x node id=01h verb id=723h, 722h, 721h, 720h label [7:0] 0s for all nodes codec response for all nid bit description 31:0 0s. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 60 track id: jatr-2265-11 rev. 1.1 8.44. verb ? get eapd control (verb id=f0ch for get) table 77. verb ? get eapd control (verb id=f0ch) get command format (nid=14h, 15h and 21h) codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=14h/17h/21h verb id=f0ch 0s bit[1] is eapd control codec response in get command for nid=14h (line-out), 17h (mono-spk-out), and 21h (hp-out) bit description 31:3 reserved. 2 l-r swap. the ALC231 does not support swapping left and right channels. read as 0. 1 eapd value. 0: eapd pin state is low 1: eapd pin state is high 0 bridge tied load (btl) enable. the ALC231 does not support btl output. read as 0. codec response in for other nid bit description 31:0 0?s. 8.45. verb ? set eapd control (verb id=70ch for set) table 78. verb ? set eapd control (verb id=70ch for set) set command format (nid=14h, 15h and 21h) codec response format bit [31:28] bit [27:20] bit [19:8] payload bit [7:0] response [31:0] cad=x node id=14h/17h/21h verb id=70ch bit[1] is eapd control 0s payload in set command for nid=14h (line-out), 17h (mono-spk-out), and 21h (hp-out) bit description 7:3 reserved. written data is ignored. 2 l-r swap. the ALC231 does not support swapping left and right channels, written data is ignored. 1 eapd value. 0: eapd pin state is low 1: eapd pin state is high 0 bridge tied load (btl) enable. the ALC231 does not support btl output. written data is ignored. codec response bit description 31:0 0?s. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 61 track id: jatr-2265-11 rev. 1.1 9. electrical characteristics 9.1. dc characteristics 9.1.1. absolute maximum ratings table 79. absolute maximum ratings parameter symbol minimum typical maximum units power supplies digital power for core digital power for link*1 analog power btl analog power dvdd dvdd-io avdd1, avdd2 pvdd 3.0 1.5 4.5 4.5 3.3 3.3 5.0 5.0 3.6 3.6 5.5 5.5 v v v v ambient operating temperature ta 0 - +70 o c storage temperature ts - - +125 o c esd (electrostatic discharge) susceptibility voltage all pins 3500v note: dvdd-io must be lower than dvdd. 9.1.2. threshold voltage dvdd-io=3.3v 5%, t ambient =25 c, with 50pf external load. table 80. threshold voltage parameter symbol minimum typical maximum units input voltage range v in -0.30 - dvdd+0.30 v low level input voltage (bclk, rst#, sdo, sync, sdi) v il - - 0.30*dvddio v high level input voltage (bclk, rst#, sdo, sync, sdi) v ih 0.65*dvddio - - v low level input voltage (gpios) v il - (2/3)*dvdd - v high level input voltage (gpios) v ih - (2/3)*dvdd - v high level output voltage v oh 0.9*dvdd - - v low level output voltage v ol - - 0.1*dvdd v input leakage current - -10 - 10 a output leakage current (hi-z) - -10 - 10 a output buffer drive current - - 5 - ma internal pull up resistance - - 47k - ? www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 62 track id: jatr-2265-11 rev. 1.1 9.1.3. digital filter characteristics table 81. digital filter characteristics filter symbol minimum typical maximum units adc low pass filter passband 0 - 0.454*fs (-1db) khz stopband 28.8 - - khz stopband rejection - -76.0 - db passband ripple - 0.05 - db dac low pass filter passband 0 - 0.454*fs (-1db) khz stopband 28.8 - - khz stopband rejection - -78.5 - db passband ripple - 0.05 - db 9.1.4. spdif output characteristics dvdd=3.3v, t ambient =25 c, with 75 ? external load. table 82. spdif output characteristics parameter symbol minimum typical maximum units spdif-out high level output v oh 3.0 3.3 - v spdif-out low level output v ol - 0 0.3 v www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 63 track id: jatr-2265-11 rev. 1.1 9.2. ac characteristics 9.2.1. link reset and initialization timing table 83. link reset and initialization timing parameter symbol minimum typical maximum units reset# active low pulse width t rst 100.167 - - s reset# inactive to bclk startup delay for pll ready time t pll 100 - - s sdi initialization request t frame - - 25 frame time sdo sync sdi bclk reset# 4 bclk 4 bclk > = 4 bclk initialization sequence initialization request t frame t pll t rst normal frame sync figure 13. link reset and initialization timing www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 64 track id: jatr-2265-11 rev. 1.1 9.2.2. link timing parameters at the codec table 84. link timing parameters at the codec parameter symbol minimum typical maximum units bclk frequency - 23.9976 24.0 24.0024 mhz bclk period t cycle 41.163 41.67 42.171 ns bclk jitter t jitter - 150 500 ns bclk high pulse width t high 17.5 - 24.16 ns (%) bclk low pulse width t low 17.5 - 24.16 ns (%) sdo setup time at both rising and falling edge of bclk t setup 5 - - ns sdo hold time at both rising and falling edge of bclk t hold 5 - - ns sdi valid time after rising edge of bclk (1:50pf external load) t tco 3 11.0 ns sdi flight time t flight 0 7 ns figure 14. link signals timing www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 65 track id: jatr-2265-11 rev. 1.1 9.2.3. spdif output timing table 85. spdif output timing parameter symbol minimum typical maximum units spdif-out frequency *1 - - 3.072 - mhz spdif-out period *1 t cycle - 325.6 - ns spdif-out jitter t jitter - - 4 ns spdif-out high level width *1 t high 156.2 (48%) 162.8 (50%) 169.2 (52%) ns (%) spdif-out low level width *1 t low 156.2 (48%) 162.8 (50%) 169.2 (52%) ns (%) spdif-out rising time t rise - 2.0 - ns spdif-out falling time t fall - 2.0 - ns *1: bit parameters for 48khz sample rate of spdif-out. low t v il v ih oh ol high rise fall t cycle t t tt v v v figure 15. output timing www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 66 track id: jatr-2265-11 rev. 1.1 9.3. analog performance standard test conditions ? t ambient =25 o c, dvdd-core=3.3v 5%, avdd=5.0v 5% ? 1khz input sine wave; sampling frequency=48khz; 0db=1vrms ? 10k ? /50pf load; test bench char acterization bw:10hz~22khz table 86. analog performance parameter min typical max units full-scale input voltage all adc (gain=0db) - 1.3 - vrms full-scale output voltage all dac (gain=0db) - 1.2 - vrms dynamic range with 1khz tone, dr (a weighted) adc dac headphone out @32 ? load - - - 90 97 97 - - - db fsa db fsa db fsa total harmonic distortion plus noise, thd+n adc dac headphone out @32 ? load - - - -80 -92 -80 - - - db fs db fs db fs frequency response adc (-3db lower edge, -1db higher edge) dac (-3db lower edge, -1db higher edge) 10 10 - - 0.454*fs 0.454*fs hz hz power supply rejection ratio - -60 - db total out-of-band noise (28.8khz~100khz) - -60 - db amplifier gain step adc dac - - 1.5 0.75 - - db db crosstalk between input channels - -80 - db input impedance (gain=0db) - 47 - k ? output impedance amplified output non-amplified output - - 1 200 - - ? ? digital power supply current (normal operation) dvdd=3.3v, dvdd-io=3.3v - 35 ma digital power supply current (power down mode) dvdd=3.3v, dvdd-io=3.3v - 100 a analog power supply current (normal operation) avdd1, avdd2=5.0v - 68 ma analog power supply current (power down mode) avdd1, avdd2=5.0v - <1 ma vrefoutx output voltage 0 2.50 3.75 v vrefoutx output current - 5 - ma note: fsa=full-scale with a-we ighting filter. fs=full-scale. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 67 track id: jatr-2265-11 rev. 1.1 9.4. class-d power amplifier performance table 87. class-d power amplifier performance parameter min typical max units maximum output peak current @ btl mode - 1.3 - a maximum output power (thd+n=1%, 4 ? load, pvdd=5v) maximum output power (thd+n=1%, 8 ? load, pvdd=5v) - - 2.2 1.3 - - w w power efficiency @ btl mode into 4ohm - 80 - % power efficiency @ btl mode into 4ohm with filter - 84 - % power efficiency @ btl mode into 8ohm - 88 - % power efficiency @ btl mode into 8ohm with filter - 92 - % full-scale output voltage @ btl mode pcm/pwm converter - +/-4.34 - vpeak s/n (a weighted) @ btl mode pcm/pwm converter - 100 - db fsa thd+n @ btl mode at test signal around 20hz~22khz pcm/pwm converter - -60 - db fs frequency response @ btl mode pcm/pwm converter 20 - 20k hz total quiescent current (iq) - 1.25 - na p-type mos output impendence (rds) - 150 - m ? n-type mos output impendence (rds) - 250 - m ? pwm frequency - 400k - hz dead time (shoot) - 0 - ns modulation index - 0.8896 - n/a minimum pulse width - 150 - ns qfn-48 package thermal characteristic, ? ja - 32.4 - c/w output voltage noise(vn) at mute condition - 50 - v output short circuit protection limit - 2.5 - a class-d output rms current, i l (btl 4 ? load, pvdd = 5.0v, full power output) - 0.6 - a class-d output rms current, i l (btl 4 ? load, pvdd = 5.0v, power down) - 0 - ma www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 68 track id: jatr-2265-11 rev. 1.1 10. application circuits to get the best compatibility in hardware design and software driver, any modification should be confirmed with realtek. realtek may update the latest applicati on circuits onto our web site (www.realtek.com) without modifying this datasheet. 10.1. filter connection line2-r line2-l mi c 1-r mi c 1-l dmic-data dmic-clk mic1-vrefo-l r31 20k mic2-jd add this filter to avoid other components/chips be influenced u2 ALC231 dvdd1 1 gpio0/dmic-data 2 gpio1/dmic-clk 3 pd# 4 sdata-out 5 bit-clk 6 dvss2 7 sdata-in 8 dvdd-io 9 sync 10 reset# 11 pcbeep 12 sense a 13 line2-l 14 line2-r 15 mi c 2-l 16 mi c 2-r 17 sense-b 18 jdref 19 ldo-ref 20 mi c 1-l 21 mi c 1-r 22 line1-l 23 line1-r 24 avdd1 25 avss1 26 vref 27 ldo_cap 28 mic2-vrefo 29 mic1-vrefo-r 30 mic1-vrefo-l 31 hp-out-l 32 hp-out-r 33 cpvee 34 cbn 35 cbp 36 cpvref 37 avdd2 38 avss2 39 lo_vol 40 lo_vor 41 avss3 42 pvss 43 spk - 44 spk + 45 pvdd 46 eapd 47 spdifo 48 place next to pin 9 ext. pcbeep c15 0.1u + c16 10u <> surges of pvdd >7v duration 0.1ms when class d amplifier is working may damage the amplifier, 10uf tantalum capacitors are required at pvdd1 and pvdd2 to suppress the surge. digital_ground tied at one point only under the ALC231 or near the ALC231 analog_ground r32 100k +5va hd_reset# from southbridge of chipset ec_mute#(from bios control) +5va pd# q4 2n7002/bss138 q5 2n7002@two control signals r33 10k q6 2n7002 pd# control method 2: compatible for 1.5v and 3.3v hda-link r34 0@one control signal if hd_reset high level is 1.5v(the signal level of hda_link are 1.5v) , please moidfy q3 to bss138 or 2sk3018 transistor c39 0.1u mi c 2-l c40 1u +1.5vd c41 0.1u ALC231_qfn48 r35 10k mi c 2-r + c42 2.2u + c43 2.2u + c44 10u c45 0.1u pd# control method 1: only for 3.3v hda-link +3.3vd ec_mute#(from bios control) r20/nc2 1k hd_reset# from southbridge of chipset d3@two control signals2 bat54a/sot pd# line-jd place next to pin 39,and tantalum capacitor is required for c5 +5va +5vd bead3 c46 0.1u c47 0.1u + c48 10u + c49 10u mic1-vrefo-r line1-l line1-r mic2-vrefo r36 22 +3.3vd azalia-sdin azalia-sy nc azalia-reset# 22p azalia-sdout azalia-bclk + c50 10u r37 20k +1% + c51 10u + c52 2.2u r38 0/nc + c53 10u spk - + c54 10u line-r line-l bead4 spk + +5va r39 39.2k hpout-jd r40 10k line1-jd hpout-r hpout-l place near pin 42 r41 47k r42 4.7k c56 0.1u c55 1u +3.3vd r43 0 place near pin 38 eapd spdifo r44 20k mic1-jd r45 39.2k line2--jd figure 16. filter connection www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 69 track id: jatr-2265-11 rev. 1.1 10.2. power and jack connection r52 2.2k r53 2.2k c69 100p c70 100p c73 100p + c75 10u c74 100p r55 2.2k mic1-vrefo-l r56 2.2k mi c 2-j d mi c 2-l mic2-vrefo mi c 2-r mi c 1-l mic1-r mi c 1-j d ph4 mic1(jack-a) 5 4 1 cs cn 3 ph2 mic2 (jack-b) 5 4 1 cs cn 3 headphone out line out mic2 mic1 j19 digital mic interf ace 1 2 3 4 5 +3.3vd dmic-clk dmic-data r66 0 r58 0 frh5d28-8r2n 1.6a placement near audio codec demodulation filter c57 nc spk + j4 con4 1 2 3 4 l12 8.2u c58 nc r46 nc l13 8.2u c4/nc2 1u c59 nc spk l+ l- r+ r- trace width speaker 4 ohm ==> 40 mils speaker 8 ohm ==> 20 mils spk - internal spk_- internal spk_+ mono-out-jd line-r r47 75 line-l ph7 line-out (jack-a) 5 4 1 cs cn 3 r48 75 hpout-jd hpout-l hpout-r ph5 hp-out (jack-a) 5 4 1 cs cn 3 r50 75 r49 75 d7 1n5817 d8 1n5817 mic1-vrefo-r + c60 10u + c64 10u + c63 10u figure 17. power and jack connection 10.3. spdif-out connection s/pdif module option 2: coaxial c61 0.01u r51 100 c62 100p j7 s/pdif output 1 2 r54 220 spdifo s/pdif module option 1: optical optical transmitter c65 nc u3 totx178 in 3 vcc 2 gnd 1 n.c 4 n.c 5 spdifo +5vd figure 18. spdif-out connection www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 70 track id: jatr-2265-11 rev. 1.1 11. mechanical dimensions plastic quad flat no-lead package 48 leads 7x7mm outline. symbol dimension in mm dimension in inch min nom max min nom max a 0.75 0.85 1.00 0.030 0.034 0.039 a1 0.00 0.02 0.05 0.000 0.001 0.002 a2 0.55 0.65 0.80 0.022 0.026 0.032 a3 0.20ref 0.008ref b 0.18 0.25 0.30 0.007 0.010 0.012 d/e 7.00bsc 0.276bsc d 1 /e 1 6.75bsc 0.266bsc d2/e2 5.20 5.45 5.70 0.205 0.215 0.225 e 0.50bsc 0.020bsc l 0.30 0.40 0.50 0.012 0.016 0.020 note 1: controlling dimension: millimeter (mm). note 2: reference document: jedec mo-220. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC231 datasheet high definition audio codec with mono class-d speaker amplifier 71 track id: jatr-2265-11 rev. 1.1 12. ordering information table 88. ordering information part number description status ALC231-cg qfn-48 ?green? package production note: see page 8 for ?green? package and version identification. realtek semiconductor corp. headquarters no. 2, innovation road ii hsinchu science park, hsinchu 300, taiwan tel.: +886-3-578-0211. fax: +886-3-577-6047 www.realtek.com www.datasheet.co.kr datasheet pdf - http://www..net/


▲Up To Search▲   

 
Price & Availability of ALC231

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X